-
Notifications
You must be signed in to change notification settings - Fork 7
Implement R2D2 Ingest Suite #675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…nto feature/r2d2_v3
ashiklom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments. TLDR:
- Glob logic can be simplified.
- Add type hints
- Don't catch generic
Exceptionif we don't immediately re-raise it.
|
Thanks @ftgoktas for adding this feature. Some general comments before getting into details:
|
|
FWIW, In the context of rsync: Can you predict exactly what each of these commands will do? They do different things, but are you 100% sure you know the result? It's very easy to mess up a directory or even to delete files if you accidentally use the wrong combination of trailing slashes. |
src/swell/configuration/jedi/interfaces/geos_marine/ingest_backgrounds/geos_restart.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_marine/ingest_backgrounds/geos_restart.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_marine/ingest_backgrounds/geos_restart.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_marine/ingest_observations/adt_cryosat2n.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_marine/ingest_observations/adt_sentinel6a.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_marine/ingest_backgrounds/geos_restart.yaml
Outdated
Show resolved
Hide resolved
@ftgoktas, In skylab, the observation ingest suite includes downloading (or copying) observations, running the ioda converter which is unique for each observations type (we don't always use Having the conversion task as part of the observation ingest suite would streamline the whole process. We can skip conversion if the files are already in ioda format. I assume you are going to add downloading the files from S3 buckets of ftp later. That would be a good place to add the conversion step to the suite. |
Description
This PR introduces a new observation ingestion suite for Swell, enabling automated ingestion of observation and background data into R2D2 v3 similar to Skylab/Ewok architecture.
Key Features:
adt_cryosat2n,adt_sentinel6a) has its own standalone YAML file with retrieval method and metadata.Usage:
swell create ingest_obs_marineswell launch <experiment_path>The suite automatically ingests all observations listed in
obs_to_ingestfor each cycle point, skipping files already present in R2D2.