Open barronh opened 7 years ago
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.
@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?
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
thank u~!
At 2017-01-10 01:26:57, "barronh" notifications@github.com 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.
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!