earth icon indicating copy to clipboard operation
earth copied to clipboard

Earth with WRF

Open barronh opened this issue 8 years ago • 4 comments

I made a script to convert Weather Research and Forecasting data for visualization by your program. Is there a place in the project for such convenience scripts?

Thanks for the great program!

barronh avatar Jan 08 '17 18:01 barronh

Nice! For separation of concerns, probably best for you to create a separate repo for your script (or even a gist if simple enough?). If there are any changes to the earth site itself, those would be a merge request into this repo.

cambecc avatar Jan 09 '17 01:01 cambecc

@barronh please let us know where that repo is, this is an extremely interesting development. Any chance the script might be adapted to add various sources?

ibm-om avatar Jan 09 '17 14:01 ibm-om

Below is a gist that is a runnable script using python3 or python2. Requires numpy and netcdf4 libraries. It is easily adapted to other sources. The only requirements of an input file is NetCDF formatted and that it has latitude, longitude, U and V wind component variables. I updated the script to take the "names" of these variables as options. The options default to WRF surface fields so it looks for XLAT, XLONG, U10 and V10.

I hope it is useful to others!

https://gist.github.com/barronh/1a5c0529543a34ecab3bb5d8990b6603

barronh avatar Jan 09 '17 17:01 barronh

thank u~!

At 2017-01-10 01:26:57, "barronh" [email protected] wrote:

Below is a gist that is a runnable script using python3 or python2. Requires numpy and netcdf4 libraries. It is easily adapted to other sources. The only requirements of an input file is NetCDF formatted and that it has latitude, longitude, U and V wind component variables. I updated the script to take the "names" of these variables as options. The options default to WRF surface fields so it looks for XLAT, XLONG, U10 and V10.

I hope it is useful to others!

https://gist.github.com/barronh/1a5c0529543a34ecab3bb5d8990b6603

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

skysailinger avatar Jan 19 '17 16:01 skysailinger