Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDAF Observation File Generator

Scripts and utilities for creating observation files for TSMP-PDAF data assimilation runs.

Each script in this repository reads observations from an external data source and writes NetCDF files in the format expected by TSMP-PDAF.


Repository Structure

PDAF_observation-file-generator/
├── mkcrns/                      # Observation files from COSMOS-Europe CRNS data
│   ├── create_crns_obs.py       # Main script: CRNS data → TSMP-PDAF NetCDF files
│   └── cosmos_europe/           # COSMOS-Europe dataset download and parsing
│       ├── download_cosmos_europe.py # Download CRNS dataset from TERENO
│       └── parse_crns_data.py   # Parser: COSMOS-Europe CSV → pandas DataFrame
├── mkoldummy/                   # Dummy observation files for open-loop / spin-up runs
│   └── create_dummy_obs.py      # Single placeholder obs file (no_obs=1) for OL runs
└── utils/                       # Shared utilities
    └── nc_attributes.py         # Sets standard provenance attributes on NetCDF files

Dependencies

Install the required Python packages (see pyproject.toml):

pip install -e .

Tools

  • mkcrns/ — CRNS soil moisture observations from COSMOS-Europe
  • mkoldummy/ — Dummy observation files for open-loop simulations
  • utils/ — Shared utilities (NetCDF provenance attributes)

About

Scripts and workflows for creating observation files for TSMP-PDAF.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages