You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, if I need 20 km, then I have to add the support of 20km in lmatools first:
goesr_resolutions = {
'0.5km': 14e-6,
'1.0km': 28e-6,
'2.0km': 56e-6,
'4.0km': 112e-6,
'8.0km': 224e-6, # not technically in the spec, but SYMMETRY.
'10.0km': 280e-6,
'20.0km': 560e-6,
'100.0km': 2800e-6,
}
then, add 20 km to the .py script:
def nearest_resolution(args):
""" Uses args.dx to find the closest resolution specified by the
GOES-R PUG. Returns something like "10.0km" that can be used as the
resolution argument to get_GOESR_grid.
"""
goes_resln_options = np.asarray([0.5, 1.0, 2.0, 4.0, 8.0, 10.0, 20.0])
The text was updated successfully, but these errors were encountered:
zxdawn
changed the title
Supporting more dx and dy resolution options
Support more dx and dy resolution options
Jul 7, 2021
The
dx
ordy
in the doc is2km
and the default value is10km
. I tested20km
and found the resolution is limited to 10 km.This is caused by:
glmtools/examples/grid/make_GLM_grids.py
Lines 137 to 146 in b70484c
And that is related to the pre-defined
goesr_resolutions
in lmatools:https://github.com/deeplycloudy/lmatools/blob/731a330494544bf80c7f6752bae67d8f35cb806a/lmatools/grid/fixed.py#L58-L66
So, if I need 20 km, then I have to add the support of 20km in lmatools first:
then, add 20 km to the .py script:
The text was updated successfully, but these errors were encountered: