-
Notifications
You must be signed in to change notification settings - Fork 108
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
Fix weights generation for tripole->rectilinear output of ocean and ice #858
Fix weights generation for tripole->rectilinear output of ocean and ice #858
Conversation
* generate destination rectilinear grids with ncremap using lat type "cap"
* increase wall clock by 5mins * don't need mesh files for rectilinear grids
@GeorgeGayno-NOAA I'm not sure why I am failing the CI, since I see no differences with develop (my develop branch also fails CI). Also, I'm not sure about some of the new testing required. I've run on Hera and the cpld_gridgen tests pass. I can run on the other platforms, but I'm not sure how to do the additional compiles and the unit tests. I thought the unit tests were automatic? |
All four tests are passing. I see the green checkmark. What was the error?
Complete as many of the tests as you can (and check off the appropriate 'boxes' above). I can help with the remaining tests. |
Regarding the error, I see a red X for both the develop branch and this one saying that 'Clang macOS Build and Test / ufs_utils (push) Failing after 3m'. The failure is
I'll test on the remaining platforms and make sure all are B4B. Thanks |
@GeorgeGayno-NOAA I'd like to modify this PR slightly to allow the generation of postweights for the 5-deg tripole (to a 5-deg rectlinear) and then from each of the existing tripoles to the 5-deg rectilinear. This should have no impact on baselines because we do not keep the weights files in the baseline. We stage the 5-deg ocean fix data only on Hera (at |
We can ask @KateFriedman-NOAA or @WalterKolczynski-NOAA for assistance hosting data to the 'fixed' directory. |
I've added the code and script changes required for the 5deg case. Once the required files are in place on the remaining platforms, I will be able to generate new baseline files for 500. No other baseline changes but the regression test script will fail with missing files until the 5deg baseline is in place. |
@DeniseWorthen These fix files:
...are already synced onto the supported platforms within the developmental fix sets we maintain on them. See the following locations on the other platforms that are listed in the global-workflow link script: https://github.com/NOAA-EMC/global-workflow/blob/develop/sorc/link_workflow.sh#L58 Let me know if I'm misunderstanding your statement or if you have new files to get added. If you have new files, please open a "Fix File Update" issue in global-workflow: https://github.com/NOAA-EMC/global-workflow/issues/new/choose |
Thanks @KateFriedman-NOAA On hera, for example, the regression test script for the UFS-UTILS cpld_gridgen utility points to
Is the right solution to actually have that MOM6_FIXDIR point to the various glopara/fix directories? |
If the contents of the glopara/fix mom6 directories matches that ufs_utils set, then yes. Let us know if you need any additional fix files added to the global group space sets, or updated. A "Fix File Update" issue in global-workflow covers adds, removals, changes/updates, etc.". |
OK, great. I'll check that they're identical (they should be) and make the change in the regression test script. |
I've created an issue #864. As it turns out, the mom6 fix directory currently used by the ufs-utils regression test does not contain one of the required files. This file is the the I've added a check for these files existing and confirmed that it catches the missing files in the current mom6-fix directory. |
I'm going to merge in the fix for the MOM6 Fix directory and generate new baseline on all platforms. The 050 and 100 case will be identical and I will generate a new 500 baseline. |
* add a little more wallclock * correct fixdir path for non-hera machines
@GeorgeGayno-NOAA New baselines have been generated on hera,jet and wcoss2. I will do orion when it is back from maintenance. Here are the locations: jet: /lfs4/HFIP/h-nems/Denise.Worthen/CPLD_GRIDGEN/BASELINE |
Orion baseline is located at /work/noaa/stmp/dworthen/CPLD_GRIDGEN/BASELINE/ |
@GeorgeGayno-NOAA I was able to compile with GNU on hera, but the job failed because it couldn't find ncremap. I compiled by manually setting the compiler in
|
Your new baseline files have been placed on all machines: orion: /work/noaa/nems/role-nems/ufs_utils/reg_tests/cpld_gridgen/baseline_data They are indicated by the |
Thanks. What is my next step? Do I need to run the verification on each platform against the .new baseline? |
Yes, please do. Should I link the |
I'm able to run against the .new directories by setting in rt.sh
|
@GeorgeGayno-NOAA I've posted the RT logs for all the platforms against the .new directories. |
@DeniseWorthen - I checked off all the test boxes. Can we merge? There are no fixed files that need to be baselined, right? |
@GeorgeGayno-NOAA I'm not sure what you're asking? The new baselines now contain the ESMF weights for post. I was planning on making a fix-file request to g-w to have those added. |
Understood. Will approve and merge. |
DESCRIPTION OF CHANGES:
When generating rectilinear destination grids, use
lat_typ=cap
in order to obtain grid from -90:90. Also, return an optional RouteHandle (un-used) when generating the ESMF Weights. This creates a weights file which properly generates values along the tripole seam.TESTS CONDUCTED:
If there are changes to the build or source code, the tests below must be conducted. Contact a repository manager if you need assistance.
Describe any additional tests performed.
New Baselines have been generated on Hera,Jet,Orion and WCOSS2. On hera, the new baseline was used for comparison and all tests passed.
ISSUE: