-
Notifications
You must be signed in to change notification settings - Fork 146
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
GitHub Issue NOAA-EMC/GSI#280. Add code to GSI IO interface with fv3lam to handle subdomain restart files #285
Conversation
@hu5970 when , on hera, I cloned this branch and built it, I got the error message: V |
Ting,
Can you checkout master and build it? I did not change observation IO part.
Thanks,
Ming
…On Mon, Jan 10, 2022 at 4:26 PM TingLei-NOAA ***@***.***> wrote:
@hu5970 <https://github.com/hu5970> when , on hera, I cloned this branch
and built it, I got the error message:
^
[ 95%] Building Fortran object
src/enkf/CMakeFiles/enkfdeplib.dir/enkf_obsmod.f9 0.o
../../lib/libgsilib_wrf.a(read_obs.F90.o): In function read_obsmod_mp_read_obs_
':
/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-mhu-pr/GSI/src/gsi/read_obs.F90:1835:
unde fined reference to read_sst_viirs_'
[ 95%] Linking Fortran static library ../../lib/libenkfdeplib.a
make[2]: *** [bin/gsi.x] Error 1
make[1]: *** [src/gsi/CMakeFiles/gsi.x.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Built target enkfdeplib
make: *** [all] Error 2
V
Did I miss anything?
—
Reply to this email directly, view it on GitHub
<#285 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVV23WCLNVFVKOOVFQAXYDUVNTILANCNFSM5LRBBSXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@hu5970 Thanks. Seems read_sst_viirs doesn't exist in the master branch and hence I had such an error message when I did make using the build dir generated in the master branch. |
@TingLei-daprediction read_sst_viirs is in file "read_viirs.f90". Could you check if you have this file? |
Ming,
Sorry I didn't make it clear. Yes. the read_viirs sub is in read_viirs.f90
in this branch and both of them don't exist in the master.
If i did cmake from the this branch rathan than I did from the master
first, the building process is fine.
Thanks.
Ting
…______________________________
Ting Lei
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., Cubicle 2765
College Park, MD 20740
***@***.***
301-683-3624
On Tue, Jan 11, 2022 at 10:12 AM Ming Hu ***@***.***> wrote:
@TingLei-daprediction <https://github.com/TingLei-daprediction>
read_sst_viirs is in file "read_viirs.f90". Could you check if you have
this file?
I have this file in the branch. Seems Hera is down today. I will build
this branch when Hera is back.
—
Reply to this email directly, view it on GitHub
<#285 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEFS7AWIZV74AYI77VSFEDUVRCGDANCNFSM5LRBBSXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
@TingLei-daprediction: I can see the read_viirs.f90 file from GitHub NOAA-EMC/GSI master branch. Did you see it? |
Yes. I can it in EMC/GSI. Seems only missing in the master of your fork.
Ting
…______________________________
Ting Lei
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., Cubicle 2765
College Park, MD 20740
***@***.***
301-683-3624
On Tue, Jan 11, 2022 at 11:01 AM Ming Hu ***@***.***> wrote:
@TingLei-daprediction <https://github.com/TingLei-daprediction>: I can
see the read_viirs.f90 file from GitHub NOAA-EMC/GSI master branch. Did you
see it?
—
Reply to this email directly, view it on GitHub
<#285 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEFS7B3WFX2IDKVHOH4WMTUVRH57ANCNFSM5LRBBSXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Ting,
I branch is created from the EMC GSI master branch. I did not sync my
master from the EMC master. Please do not use my master.
You can directly compare this PR with EMC master branch.
Thanks,
Ming
On Tue, Jan 11, 2022 at 9:15 AM TingLei-NOAA ***@***.***>
wrote:
… Yes. I can it in EMC/GSI. Seems only missing in the master of your fork.
Ting
______________________________
Ting Lei
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., Cubicle 2765
College Park, MD 20740
***@***.***
301-683-3624
On Tue, Jan 11, 2022 at 11:01 AM Ming Hu ***@***.***> wrote:
> @TingLei-daprediction <https://github.com/TingLei-daprediction>: I can
> see the read_viirs.f90 file from GitHub NOAA-EMC/GSI master branch. Did
you
> see it?
>
> —
> Reply to this email directly, view it on GitHub
> <#285 (comment)>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/APEFS7B3WFX2IDKVHOH4WMTUVRH57ANCNFSM5LRBBSXQ
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
> You are receiving this because your review was requested.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#285 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVV23WIJ5C4C7YBDJNSBRDUVRJSBANCNFSM5LRBBSXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ming,
Sure. I will use the EMC master as the reference.
Ting
…______________________________
Ting Lei
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., Cubicle 2765
College Park, MD 20740
***@***.***
301-683-3624
On Tue, Jan 11, 2022 at 11:25 AM Ming Hu ***@***.***> wrote:
Ting,
I branch is created from the EMC GSI master branch. I did not sync my
master from the EMC master. Please do not use my master.
You can directly compare this PR with EMC master branch.
Thanks,
Ming
On Tue, Jan 11, 2022 at 9:15 AM TingLei-NOAA ***@***.***>
wrote:
> Yes. I can it in EMC/GSI. Seems only missing in the master of your fork.
> Ting
>
> ______________________________
>
> Ting Lei
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct., Cubicle 2765
>
> College Park, MD 20740
>
> ***@***.***
>
> 301-683-3624
>
>
> On Tue, Jan 11, 2022 at 11:01 AM Ming Hu ***@***.***> wrote:
>
> > @TingLei-daprediction <https://github.com/TingLei-daprediction>: I can
> > see the read_viirs.f90 file from GitHub NOAA-EMC/GSI master branch. Did
> you
> > see it?
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <#285 (comment)>, or
> > unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/APEFS7B3WFX2IDKVHOH4WMTUVRH57ANCNFSM5LRBBSXQ
> >
> > .
> > Triage notifications on the go with GitHub Mobile for iOS
> > <
>
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
> >
> > or Android
> > <
>
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
> >.
> >
> > You are receiving this because your review was requested.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#285 (comment)>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABVV23WIJ5C4C7YBDJNSBRDUVRJSBANCNFSM5LRBBSXQ
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#285 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEFS7FR43ULXMVT3LWVGRTUVRKWVANCNFSM5LRBBSXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
end if | ||
|
||
thetav(k) = ges_tv(i,j,k)*(r1000/pbk(k))**rd_over_cp_mass | ||
if (wrf_mass_regional) then |
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.
This part bring significant changes . I suspect this part (for fv3_regional) also caused the differences in my comparison test, in which , the new codes with this subdomain function is supposed to give the identical results for the single domain case. Would @hu5970 give some documentation on why the changes are expected to be more accurate?
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.
This current PR has passed my test case, in which , it gave the identical results for the original "whole domain" background files.
The algorithm in this PR dealing with the subdomain cases are practically simple while creative (each MPI process reads multiple background files in subdomains in a serially) and the developer has shown it would only cause extra wall clock time in several seconds. So, this PR for GSI provides a solution to deal with the UFS model 's slowing with the "whole domain" option, though the current fv3-lam interface would make even harder for future expansions like incorporation of the dual resolutions interface in the HAFS GSI repository.
The coding of this algorithm is clean and efficient.
Hi @hu5970, I have completed my review of these changes. I saw no issues with the changes you made. The regression tests were run, and all passed. The code was compiled in debug and no new warning messages appeared. The debug tests were run, and all ran through to completion. Before I submit this work to the review committee, please reduce the number of commit messages from two to one using the following:
Once this is complete, I will be able to submit this work to the review committee. Please let me know if you have any questions. |
…o handle subdomain restart files.
618c864
to
4028fc7
Compare
@MichaelLueken-NOAA Thanks for reviewing the PR. I have merged the two commit messages into one. |
There was no feedback from the review committee, so I will now give final approval to these changes and merge them to the authoritative NOAA-EMC/GSI repository. |
This PR is to solve issue # 280.
A new namelist fv3_io_layout_y is added.
When fv3_io_layout_y=1, the GSI is identical to current function.
When fv3_io_layout_y=n, the GSI will expects multiple restart files covering subdomains.
The code is currently used in GSL NA 3km real-time runs.
In this PR, the build.comgsi is updated for JET application when parallel IO are needed for background and ensemble IO.
The calculate of GSD PBL is also updated for FV3LAM model.