From 561b61637bbeda2625bc2d06db8efe91faa4c8aa Mon Sep 17 00:00:00 2001 From: bbakernoaa Date: Tue, 19 Nov 2024 10:54:33 -0500 Subject: [PATCH] pass kwarg to xaray --- monetio/sat/nesdis_viirs_ndvi_aws_gridded.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monetio/sat/nesdis_viirs_ndvi_aws_gridded.py b/monetio/sat/nesdis_viirs_ndvi_aws_gridded.py index 60c8ddb4..02365839 100644 --- a/monetio/sat/nesdis_viirs_ndvi_aws_gridded.py +++ b/monetio/sat/nesdis_viirs_ndvi_aws_gridded.py @@ -236,7 +236,8 @@ def open_mfdataset( dates: Union[pd.DatetimeIndex, datetime, str], data_type: str = "vhi", sensor: str = "viirs", - error_missing: bool = False + error_missing: bool = False, + **kwargs ) -> xr.Dataset: """ Opens and combines multiple NetCDF files into a single dataset. @@ -273,6 +274,7 @@ def open_mfdataset( concat_dim="time", combine="nested", decode_cf=False, + **kwargs ) return process_timeofday(dset) \ No newline at end of file