google / weather-tools

Tools to make weather data accessible and useful.
https://weather-tools.readthedocs.io/
Apache License 2.0
203 stars 38 forks source link

Added default accuracy in regrid. #456

Closed deepgabani8 closed 3 months ago

deepgabani8 commented 3 months ago

By providing accuracy, we ensure that data is matching if it was fetched directly in the same grid. User can pass their accuracy as per data, but the data we are using normally has accuracy=12.

Story: When we were regriding the HRES data from Reduced gaussian grid to normal latlong grid, we observed that this data has significant difference from the data if it was fetched from ECMWF directly in normal latlon. After the analysis and exploration, we figured out that by passing the accuracy: 12 while regriding, the data matches up to a point that it is usable.