-
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
Test UFS_UTILS with combined IP/IP2 library #242
Comments
Please build a test for this in GitHub actions, so we call all see it. That is, write a test that downloads and builds ip/ip2, then builds and runs UFS_UTILS tests. For an example, see this workflow, which builds a fixed version of pnetcdf, caches it, and then builds PIO with it: https://github.com/NCAR/ParallelIO/blob/master/.github/workflows/cmake.yml |
@kgerheiser I ran the snow2mdl regression test on Hera. The test ran to completion. I did not expect bit identical results, but the differences in the snow cover field are larger than they should be. The cover field is shifted from the baseline. Snow cover is set from IMS snow data, which uses an elliptical earth. So my guess is IPLIB is using the wrong radius of the earth or does not realize an elliptical earth was used. The IMS data is grib1, which sets earth radius in GDS octet 17: https://www.nco.ncep.noaa.gov/pmb/docs/on388/table7.html |
General comment: since this is a very big change to the library, should the first digit of the version number be incremented? i.e., 4.0.0? |
That's a good lead. I'll take a look there.
Yes, that would be appropriate. |
@kgerheiser Can you create "2d-array", "1d-array" and scalar versions of gdswzd for both grib1 and grib2? (it looks like scalar grib1 is missing). I call gdswzd with scalars for grib1 in my snow program. To get it to compile, I have to call 'gdswzd_grib1'. For the non-scalar calls, I am able to call the gdswzd interface directly. |
Updates to compile with the combined ip/ip2 library. Issue ufs-community#242
I think I found the problem. You were right about the earth radius. I wasn't setting the WGS-84 radius when it was an elliptical Earth. |
@kgerheiser My branch won't compile anymore. You test library was here: /home/Kyle.Gerheiser/NCEPLIBS-ip2. |
Oh, I deleted that yesterday. |
|
@kgerheiser Has IP v4 been installed on any of our machines? This issue has been open for a while. |
@Hang-Lei-NOAA Has IP v4 been installed on any of our machines? |
No, I can install it on Hera tonight.
…On Wed, Sep 7, 2022 at 1:53 PM GeorgeGayno-NOAA ***@***.***> wrote:
@Hang-Lei-NOAA <https://github.com/Hang-Lei-NOAA> Has IP v4 been
installed on any of our machines?
—
Reply to this email directly, view it on GitHub
<#242 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFBY72NDGLJJHMOGUITV5DJBZANCNFSM4WLFGIBQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It has been added on Hera.
On Wed, Sep 7, 2022 at 2:44 PM Hang Lei - NOAA Affiliate ***@***.***>
wrote:
… No, I can install it on Hera tonight.
On Wed, Sep 7, 2022 at 1:53 PM GeorgeGayno-NOAA ***@***.***>
wrote:
> @Hang-Lei-NOAA <https://github.com/Hang-Lei-NOAA> Has IP v4 been
> installed on any of our machines?
>
> —
> Reply to this email directly, view it on GitHub
> <#242 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKWSMFBY72NDGLJJHMOGUITV5DJBZANCNFSM4WLFGIBQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Increase the rank of some arrays to comply with the new gdswzd and ipolates routine interfaces. Fixes ufs-community#242.
To ease the transition between IP library v3.3.3 and v4.0, the rank of some arrays were changed to comply with the First, I tested the branch at 59292b4 using IP library v3.3.3 (on Cactus). The |
Repeated this test on Hera. All tests passed. |
Note: To compile with v4.0, you need to uncomment the |
Commit 794304d was compiled on Orion. All consistency tests passed. |
Tested Hang's ip v4.0 on Cactus. Using 5fbfa1f, the |
The IP and IP2 libraries were combined as IPLIB v4.0.0. Update UFS_UTILS to use this version. This update was done so that it is backwards compatible with IPLIB v3. Fixes #242
@kgerheiser is combining IP and IP2 into a single library. Test this library with UFS_UTILS.
NOAA-EMC/NCEPLIBS-ip2#29
The text was updated successfully, but these errors were encountered: