-
Notifications
You must be signed in to change notification settings - Fork 145
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
MITgcm/N-BLING with Compressed Staggered Grids #640
Conversation
todo: use dart modules rather than standalone, netcdf, kinds, etc
mit_to_dart, dart_to_mit seems like place to put the offline squishing
FVAL a parameter
used when uncompressing
integers for coord index
the caching was fixed in NCAR#368
CHL is not updated, but may be helpful when testing code. For example, perturbing uncompressed state to get an ensemble of mit .data files to test bitwise between compressed and non-compressed.
Changes made to trans_mit_dart: - trans_mit_dart now uses separate compression dimensions for U and V - T, SAL and other tracers still use original compression - Eta's compression is done through the T (or SAL) surface layer to avoid any zero pressure (height) issues - The tracers after DART are written into MITgcm's pickup files Changes to model_mod: - Getting compressed state index now directly uses comp_inds from the restart files
Suggested changes to the compressed code after testing for the Arabian Gulf. The code has been reported to work fine for several DA cycles. A small bug was fixed when parsing the vertical layers for the pickup files.
Hi Moha, great work on this and thanks to the KAUST folks for testing it thoroughly. It is a really good improvement on the current code. I do want check on the netcdf_utilies_mod 64 bit offset change to see if we need to be careful/paranoid about breaking netcdf writes: reviewers see notes https://github.com/NCAR/DART/pull/455/files#r1101999108, #287 Then a couple of notes for whoever does the release: check with Ed how he wants his name, and here is his AMS presentation and siparcs page to add to the release notes. |
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.
Setting this as 'request changes' purely for the netcdf file_creation 64_bit_offset change. Need to check (& prevent) unintended consequences for this.
! CLM has (potentially many) columns and needs i7 ish precision | ||
write(string1,'(i11,1x,''i,j,k'',3(1x,i7),'' domain '',i2)') & | ||
! write(string1,'(i11,1x,''i,j,k'',3(1x,i7),'' domain '',i2)') & | ||
! iloc, ix, iy, iz, dom_id | ||
! EL: integer to short for the new I/O method | ||
! Change to long int to avoid problems |
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.
we can tidy this comment i21 for long ints.
Helen, thanks for taking time to review this PR. |
see pull NCAR#640 for discussion * does not have the u, v compression
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.
Approved!
@hkershaw-brown add Ed to release notes, edit:
the smaller pull requests are getting bundled with the wrf-tutorial fixes #636 #651 #637
…t of this pull request see NCAR#640 (comment) for discussion
Description:
The MITgcm code now supports compressed grids, especially suited for areas like the Red Sea where land occupies more than 90% of the domain. Thanks to Ed Liu (SIParCS intern, 2022) and Helen Kershaw for developing this approach.
Fixes issue
The updated code allows writing the bgc fields into MITgcm's pickup files. It also allows for different compression of the regular and staggered grids. These changes have been tested at KAUST for the Arabian Gulf in cycling DA runs.
Types of changes
Documentation changes needed?
Tests
Please describe any tests you ran to verify your changes.
Checklist for merging
Checklist for release
Testing Datasets