Ich möchte Gitter vom Candadian Meteorological Centre in ArcGIS importieren, aber es sieht so aus, als ob eine Verarbeitung jeder Datei erforderlich sein wird. Ich frage mich, ob jemand Skripte entwickelt hat, um diese Dateien zu lesen und für den ASCII-zu-Raster-Import vorzubereiten? Hier ist der Link: Data Set Landing Page<\/A> <\/P><\/P>Danke für jede Hilfe!<\/P><\/P>Cilla<\/P><\/BODY><\/HTML>
<\/P>
Danke für jede Hilfe!<\/P>
Cilla<\/P><\/BODY><\/HTML>
Thank you for your suggestion. I would have to tweak the Fortran code, plus I don't have a compiler, plus I'm lazy.
This can all be done, somewhat tediously, in Python using the csv library. Read through each line. If it contains only the date, start a new file. If it contains data, write the line to the new file.
I'm curious, if you have the code and can do this in Fortran, why bother making your own script?
Thank you for your replay, Dan. It's not quite so straight forward. There is no header file, although I did get a suggested header file from their tech support. The problem is that each month of the year is included in one download file, so I think I need to read it in and write out each month to a separate file. They supply the Fortran code to read it, and I can do that, but I was wondering if anyone else has done it yet. Thanks again!
It is pretty straight forward... the format etc is well described in the documentation and there is an ftp site for downloading. The asciii file is tab delimited and they indicated that they can be view in a text editor. Check the first couple of lines to see if it contains typical ascii raster format and you can use asciitoraster in the conversion toolset
Canadian Meteorological Centre (CMC) Daily Snow Depth Analysis Data
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.