NEDAS.core.file_system module
- class NEDAS.core.file_system.FileSystem(config: Config | None = None)[source]
Bases:
objectManages runtime file system paths, name of files and directories
- cycle_dir(time: datetime) str[source]
Directory path for an analysis cycle.
- Parameters:
time (datetime) – Time of the analysis cycle.
- Returns:
Directory path for the analysis cycle.
- Return type:
str
- forecast_dir(time: datetime, model_name: str) str[source]
Directory path for a model forecast step.
- Parameters:
time (datetime) – Time of the analysis cycle.
model_name (str) – Name of the model.
- Returns:
Directory path for the model forecast.
- Return type:
str
- analysis_dir(time: datetime, iter: int = 0) str[source]
Directory path for an analysis step.
- Parameters:
time (datetime) – Time of the analysis cycle.
iter (int) – If niter > 1, an outer iteration loop exists, step is the index in the loop.
- Returns:
Directory path for the analysis step.
- Return type:
str