Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mgharamti
Copy link
Contributor

Description:

An interface to the ROMS Rutgers version has been developed. The new interface is different than the current ROMS interface which was specifically designed for the UCLA version of the model (uses precomputed forward operators). The new interface is called ROMS_rutgers while the old on has been renamed to ROMS_ucla.

Fixes issue

This addresses issue #898

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Documentation changes needed?

  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

Tests

I've tested the new interface using model-mod-check and filter. For filter, I run many experiments each assimilating different observation sequences. All tested obs_seq files can be found in ROMS_rutgers/obs_seqs. I also tested the new interface with and without adaptive inflation.

Testing Datasets

I have run all my experiments here: /glade/derecho/scratch/gharamti/inacawo/DART/models/ROMS_rutgers/work using the job.sh script within the work directory. The template ROMS history file is titled roms_hist_z.nc.

The original ROMS code has been renamed to
ROMS_ucla reflecting the version of the ROMS
model. This prepares for adding the new
ROMS_rutgers code.
Completed developing the model_mod.f90
Added several obs_seq files for testing purposes
Edited some of the ROMS_ucla documentation
Added readme file with detailed documentation
Added a figure and an illustrative example
in the readme file
Copy link
Member

@hkershaw-brown hkershaw-brown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI Moha,
I left a bunch of comments. Most are code you can remove for various reasons (default model_mod function available, routines from UCLA only)
Nice docs, I'd like to pull out the routine documentation though - see comment.
There is a question on the interpolation, mostly for my understanding.

There are some comments on memory usage, which don't have to be addressed now but may need to be if memory becomes a problem.

I think the init_quad_interp will have to deal with spans lons and pole cases for various different ROMS regions.

Cheers,
Helen

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hkershaw-brown @mjs2369
Release notes should inform users of ROMS -> ROMS_ucla rename as they may need to update any workflows.

Removed the description of the key model-mod routines
- Improved comments
- i8 for model size
- Got rid of local parsing routines. Used default ones instead
- Improved comments
- Additional land checks when generating an ensemble
- Got rid of old functionality that allowed ROMS time advances
- Reverted to using the default get_close_obs from the location-mod
- Generalized the quad initialization to support more geographic domains
Removed older routines from the ucla version to read in time
and added new more concise ones
- Got rid of the large 3D arrays: TDEP, UDEP, VDEP.
  The physical depth is now computed on the fly.
  This frees up a lot of memory and makes filter
  more efficient.
- Added an interface to compute depth for scalar
  (in get_state_meta_data) and array (in model_interpolate)
  depths.
- Sea surface height is used while computing depth for
  model_interpolate only (not the case for gsmd)
- Adjusted vertical interpolation routine to allow for
  qty reading.
- Imrproved comments and cleaned code
- Removed unneeded dry land checks when perturbing the ensemble
@hkershaw-brown hkershaw-brown added the release! bundle with next release label Aug 14, 2025
@hkershaw-brown hkershaw-brown merged commit 55c4b96 into NCAR:main Aug 19, 2025
4 checks passed
hkershaw-brown added a commit that referenced this pull request Aug 26, 2025
@hkershaw-brown hkershaw-brown mentioned this pull request Aug 26, 2025
15 tasks
hkershaw-brown added a commit that referenced this pull request Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release! bundle with next release roms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants