Skip to content

Create Marsobs task to get conventional observations from MARS - #82

Open
pescribaa wants to merge 3 commits into
ACCORD-NWP:developfrom
pescribaa:feture_marsobs
Open

Create Marsobs task to get conventional observations from MARS#82
pescribaa wants to merge 3 commits into
ACCORD-NWP:developfrom
pescribaa:feture_marsobs

Conversation

@pescribaa

@pescribaa pescribaa commented May 28, 2026

Copy link
Copy Markdown

This is a draft PR. There is code that has to be cleaned/reorganized. Main points:

Task Marsobs has been created within the tactus DA suite. The references for this work have been the task Marsprep from tactus and the Harmonie MARS syntax to get the data. Currently an obs file with conventional observations is downloaded from MARS and stored in ob_dir

This is a first development that should be refined to integrate in a cleaner or more general way both Marsprep and Marsobs and associated functions. In particular marsobs.py should be cleaned/simplified, because there is a lot of code not used.

The main function that makes the work in marsobs.py is named get_observations.

Need to test Canari and Oopsvar work with this obs file. To do this is needed to give to the obs file a name and dir structure for ObsConvert to be able to read it.

Note: Although we are not doing any assimilation, I need to use te assimilation.toml config file for at least to use the da.ob_dir variable, which contains the path where the obs file will be stored.

Reviewers

I suggest @kastelecn and @trygveasp to review this PR

@uandrae uandrae added this to the v1.2.0 milestone Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants