dctools.processing.cmems_data.create_glorys_ndays_forecast

dctools.processing.cmems_data.create_glorys_ndays_forecast(nc_path, list_nc_files, start_date, zarr_path, transform_fct)

Create a forecast dataset from a list of CMEMS files.

Parameters:
  • nc_path (str) – path to the CMEMS files

  • list_nc_files (List[str]) – list of CMEMS files

  • ref_data (xr.Dataset) – reference dataset

  • start_time (str) – start date for forecast

  • zarr_path (str) – path to the zarr file

  • start_date (str)

  • transform_fct (callable | None)

Returns:

Glorys forecast dataset

Return type:

glorys_data (xr.Dataset)