I have some problem viewing an ASCII file in a structured way in arcGIS. I have tried running this code but it seems problematic at least with me. I am unable to run this. I think the code needs modification. Can you please tell me the requirements to run this code... and some other help. the link contains the file as well as the IDL source file https://drive.google.com/?authuser=0#folders/0B8iAKVklcaMUVU5qY2NNVFBRbDQ

  • 1
    Rather than just post a link to full files, you should edit your question to describe in detail the errors you are getting or what is failing and include either the relevant snippet/section of the code and/or a sample of the ascii file - such as the header and first few lines of data. Also your link, for me at least, just goes to the main Google Drive 'get started' page. – Chris W Sep 2 '14 at 19:44

If the L3_tropo_ozone_columns_dec04.txt is the file your are trying to display then it needs to be reformatted. To display an ascii/txt file in ArcMap you need to have a 6 row header with the number of rows, number of columns, X left coordinate, Y bottom coordinate, cell resolution, and no data value. For example.

ncols         270
nrows         730
xllcorner     284262.586255
yllcorner     792350
cellsize      1
NODATA_value  -9999

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.