import ascii to raster

4179
6
01-28-2013 08:38 PM
LinaMENG
New Contributor
I am trying to import a ascii data to raster via the toll "ascii to raster", but a error is reported (ERROR 010067: Error in executing grid expression) during the conversion process. I open the ascii file by notepad, it seems that the header information is miss, but the data author claims that the file format is exactly correct. So I am wondering what is reason producing such error?
0 Kudos
6 Replies
TarunJaiswal
Esri Contributor
Greetings!

Please take a look at the following forum post.
http://forums.arcgis.com/threads/48973-Cant-get-.asc-files-to-display-as-dtm?p=168120#post168120

Hope this will help.

Thanks!
0 Kudos
ElizabethPerotti
New Contributor II

Every time I click on this link, it sends me somewhere that isn't a thread. This was the link I originally tried to use and is why I put up this question.

0 Kudos
GayathriAlallasundaram
New Contributor III
Hi,

Please try to convert your ASCII file to some other raster output format other than grid, may be an IMG or TIFF or a file geodatabase raster.

Thanks,
Gayathri A.
0 Kudos
LinaMENG
New Contributor
Greetings!

Please take a look at the following forum post.
http://forums.arcgis.com/threads/48973-Cant-get-.asc-files-to-display-as-dtm?p=168120#post168120

Hope this will help.

Thanks!


Thanks for your reply! I still could not open the ascii file via the arcgis conversion tool. do I need to modify the ascii file by adding the header information to the file? here is de demo of ascii file at the begining of the file:

0.000000E+00
0.000000E+00
0.000000E+00
0.000000E+00
0.000000E+00

the author of the data claims that it is exactly the  right file structure " The *.asc you sent is the file structure.  Get someone to help you on how to import ASCII into Arcgis.  There are 360*180 (=64,800) lines in the file."

So, how can I import that file to arcgis with the limited header information?

Many thanks!
0 Kudos
LinaMENG
New Contributor
Hi,

Please try to convert your ASCII file to some other raster output format other than grid, may be an IMG or TIFF or a file geodatabase raster.

Thanks,
Gayathri A.


Yes, I tried, but it failed with the same error message:

010067 : Error in executing grid expression.

I think there are some problem with the fiel structure of ascii file, not the exporting file.

Thanks!
0 Kudos
LinaMENG
New Contributor
Greetings!

Please take a look at the following forum post.
http://forums.arcgis.com/threads/48973-Cant-get-.asc-files-to-display-as-dtm?p=168120#post168120

Hope this will help.

Thanks!


I check the data again and it seems that it is written by FORTRAN! how could i import such file to arcgis?!
0 Kudos