Select to view content in your preferred language

raster to ascii

458
1
11-18-2011 08:53 AM
LauraDugan
Occasional Contributor
Hi.  I am trying to convert raster files to ascii files to use in a modeling program.  I have done this before a couple years ago using the 9.3 version and never had any problems.  When I use the raster to ascii tool, I choose .asc in the 'Save as type' box, but it keeps saving as a text file.  Just to try it out, I redid it selecting Save as a .txt file'.  This time, it saved as an .asc like I wanted, but I'm concerned it won't behave correctly.  Is it just that the extension labels are mixed?  I'm wary of moving forward with my modeling project if the file is not in the correct format.  I tried to open it in notepad to check, but it is too big to view there (it is a global coverage of river  basins).  Is there some way to verify that the output file (when choosing 'save as .txt) really is an ascii file?

Thank-you,
Laura
0 Kudos
1 Reply
ConnieJones
New Contributor
I managed to convert the .txt file to ascii by opening the text file in notepad and saving it as an ascii.  It didn't change the extension though, but just by changing manually by deleting the txt extension and typing in ascii I got it to work in the program I'm using, GARP, which requires layers to be input as ascii files.
0 Kudos