This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm trying to read in a PRISM data set from an ESRI Ascii Grid (GRD) formatted file, but the input file is giving me the error of "Invalid header". I've checked the header and it is in the correct format as expected. Does anybody know what's causing this error?
It is a simple ascii file not a grd. You need to use Comma-Delimited Text Files (*.csv) and use \0 as a delimiter. Then you will need to parse out the first 6 rows differently because it contains the ncols, nrows, etc.
Thanks, Linda. I'm confused about what the GRD file format refers to. I thought it was the ArcGIS ascii grid format. Does GRD refer to the ArcGIS binary grid format? If you could point me to documentation about GRD input, I'd appreciate it!