google / weather-tools

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

Fix : for a added feature in weather-mv to extract specific date's data from zarr files. #400

Closed dabhicusp closed 1 year ago

dabhicusp commented 1 year ago

As mentioned in PR #396 I have added a feature in weather-mv which can allows users to access data for a specific date from zarr files but that is not working properly.

BQ ingestion of zarr data is done through the expand function and in this function we can't get value of start_date and end_date from xarray_open_dataset_kwargs dict. So I added this code, using of we get the value of start_date & end_date from the zarr_kwargs.