File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ def forecast_netcdf_file(tmp_path_factory):
153153 tmpdir = tmp_path_factory .mktemp ("forecast_data" )
154154 netcdf_path = tmpdir / "forecast_data.nc"
155155
156+ crs = "EPSG:4326"
157+
156158 n_eps = 5
157159 n_lead_time = 4
158160 n_lat = 3
@@ -198,6 +200,7 @@ def forecast_netcdf_file(tmp_path_factory):
198200 "lead_time" : lead_time_vals ,
199201 "lon" : lon ,
200202 "lat" : lat ,
203+ "crs" : crs ,
201204 }
202205
203206
@@ -250,6 +253,7 @@ def test_from_xarray_raster_event_names(forecast_netcdf_file):
250253 "lead_time" : "lead_time" ,
251254 "member" : "eps" ,
252255 },
256+ crs = forecast_netcdf_file ["crs" ],
253257 )
254258
255259 # Check that event names are generated with lead_time in hours
@@ -279,6 +283,7 @@ def test_from_xarray_raster_dates(forecast_netcdf_file):
279283 "lead_time" : "lead_time" ,
280284 "member" : "eps" ,
281285 },
286+ crs = forecast_netcdf_file ["crs" ],
282287 )
283288
284289 # Check that all dates are 0 (undefined for forecast)
You can’t perform that action at this time.
0 commit comments