カナダ気象センターからのグリッドをArcGISにインポートしたいのですが、各ファイルの処理が必要なようです。ASCII to Rasterインポート用にこれらのファイルを読み込み準備するスクリプトを開発した方はいらっしゃいますか?こちらがリンクです:Data Set Landing Page<\/A> <\/P><\/P>ご助力いただけると幸いです!<\/P><\/P>Cilla<\/P><\/BODY><\/HTML>
<\/P>
ご助力いただけると幸いです!<\/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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.