You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and combine FieldSets for each variable, supporting both local and Copernicus Marine data sources.
202
163
203
-
Avoids issues when using copernicusmarine and creating directly one FieldSet of ds's sourced from different Copernicus Marine product IDs, which is often the case for BGC variables.
164
+
Per variable avoids issues when using copernicusmarine and creating directly one FieldSet of ds's sourced from different Copernicus Marine product IDs, which is often the case for BGC variables.
"""Find all files in data_dir whose filenames contain a date within [schedule_start, schedule_end] (inclusive)."""
229
+
# TODO: scope to make this more flexible for different date patterns / formats ...
230
+
files_with_dates= []
231
+
start_date=schedule_start.date() # normalise to date only for comparison (given start/end dates have hour/minute components which may exceed those in file_date)
# TODO: link to documentation on expected data structure!!
425
427
raiseRuntimeError(
426
-
f"Could not find bathymetry variable '{var}' in provided data directory '{from_data}'."
428
+
f"\n\n❗️ Could not find bathymetry variable '{var}' in data directory '{from_data}/bathymetry/'.\n\n❗️ Is the pre-downloaded data directory structure compliant with VirtualShip expectations?\n\n❗️ See for more information on expectations: <<<INSERT LINK TO DOCS>>>\n"
0 commit comments