USDA-ARS-NWRC / smrf

SMRF was designed to increase the flexibility of taking measured weather data, or atmospheric models, and distributing the data across a watershed.
Other
12 stars 4 forks source link

197 image data #198

Open scotthavens opened 3 years ago

scotthavens commented 3 years ago

Working with cropped HRRR files, at one particular point the grib files were returning nan values for particular grid cells. This fix uses pandas reindex() to add NaN values to the data and deal with those values when performing the grid_local and grid_mask options.

Added a test to specifically test for this issue with no raised exceptions being a successful test. The test is also only performed locally on NWRC.