6d525bc4265f64987f6c01425bcb3529191ce7e7
model_info_2d
introduction
Tool to convert atmospheric model (e.g. WRF, NAQPMS) grid IDs to latitude and longitude and vice versa.
And this tool provide some useful function like:
-
ix, iy = grid_id(longitude, latitude)
: Gives a lonlat location and returns its nearest integer ID. Note that ix/iy starts at 0. You can also use functiongrid_id_float(longitude, latitude)
to get the precise ID in float. -
get_grid(): return XLONG and XLAT that like the same name variable in wrfout file.
Description
Languages
Python
100%