-
Notifications
You must be signed in to change notification settings - Fork 7
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
Routing Outlets in Boundary Conditions #827
Conversation
This version is only for 5 degree ocean grid. |
@zyj8881357, @biljanaorescanin, thanks for putting this together. Here are a couple of initial thoughts after a very quick glance:
Not sure if this really makes sense, but it's a start for discussing how to move the PR forward. |
…cean defined in the ocean model. Now the default adjust_oceanLandSea_mask is set to true.
…ting_outlets_inBCS
…S' into feature/yujinz/Routing_outlets_inBCS
…ting_outlets_inBCS
@gmao-rreichle @biljanaorescanin @sanAkel
But the outlet locations have not been checked by Biljana or Santha. It should be tested before merging to the develop branch. |
...gcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/mk_runofftbl.F90
Outdated
Show resolved
Hide resolved
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/preproc/routing/run.sh
Outdated
Show resolved
Hide resolved
...gcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/mk_runofftbl.F90
Outdated
Show resolved
Hide resolved
...OSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/preproc/routing/Pfaf_to_2d_30s_land.f90
Outdated
Show resolved
Hide resolved
@zyj8881357, @biljanaorescanin: The software infrastructure of this package needs fixing up as follows:
The above list is just a start, and I may be wrong on some or all of it. I'll defer to the SI team on what needs changing and how. |
If you guys are stuck, let me know. Above seem straightforward to me. |
… version arg in make_bcs_latlon.py and make_bcs_cube.py
@biljanaorescanin @gmao-rreichle I have added the version information in mk_runofftble.f90 I slightly changed the version links as follows: bcs version --> Outlet lat/lon file version |
I've added v12; MOM6 created with v2 Outlet file to centralized location. Should I run MOM5 options as well? Do we have users who need v12 MOM5? |
We should not produce routing files for any bcs other than v11 and v12. Some of the existing older bcs have custom-made routing files (manual intervention) that we cannot and do not want to replicate in make_bcs. Routing files generated with make_bcs will be in conflict with the existing custom-made routing files. That is, they should not be generated by make_bcs in the first place. |
...gcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/mk_runofftbl.F90
Outdated
Show resolved
Hide resolved
...gcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py
Outdated
Show resolved
Hide resolved
Hi Rolf,
I have realized the code does not work and know the solution same as your
suggestion. I push the code just for testing purposes. Please do the check
it after I make a comment in the github. Thanks so much!
…On Tue, Jul 2, 2024 at 5:00 PM Rolf Reichle ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py
<#827 (comment)>
:
> setenv OMP_NUM_THREADS 1
- if ({SKIPLAND} != True) bin/mkCatchParam.x -x {NX} -y {NY} -g CF{NC}x6C{SGNAME}_{OCEAN_VERSION}{DATENAME}{IMO}x{POLENAME}{JMO}-Pfafstetter -v {lbcsv}
+ if ({SKIPLAND} != True) then
+ bin/mkCatchParam.x -x {NX} -y {NY} -g CF{NC}x6C{SGNAME}_{OCEAN_VERSION}{DATENAME}{IMO}x{POLENAME}{JMO}-Pfafstetter -v {lbcsv}
+ bin/mk_runofftbl.x -g CF{NC}x6C{SGNAME}_{OCEAN_VERSION}{DATENAME}{IMO}x{POLENAME}{JMO}-Pfafstetter
@zyj8881357 <https://github.com/zyj8881357> : Thanks for moving the
runoff config info into the land bcs version case statement within
rmTinyCatchParaMod.F90. Have you tried running the code? I wonder if it can
work. I would have expected that we need to pass {lbcsv} into
mk_runofftbl.x via a command line argument and then use
call init_bcs_config (trim(LBCSV)) ! get bcs details from version string
from within the mk_runofftbl program. I might be wrong, but at a quick
glance I'm not sure the version info makes it to where it's needed.
—
Reply to this email directly, view it on GitHub
<#827 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHZKGWQCPVTAODOQDV5FSKLZKMIITAVCNFSM6AAAAAA5H2QGWCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNJUHA3DMNBSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@gmao-rreichle I have fixed the problem. The program should work now. |
…_runofftbl.F90, rmTinyCatchParaMod.F90)
@zyj8881357 , @biljanaorescanin : @biljanaorescanin, please generate select v12 bcs to see if the results match those in the bcs_shared dir. If that works out, I think the PR is ready for Scott. @biljanaorescanin: The |
...gcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/mk_runofftbl.F90
Show resolved
Hide resolved
@gmao-rreichle The edit looks fine in your latest commit. Thank you! |
I've tested both v11 and v12 for MOM6 C90, C12 and C180 all are zero diff to what we had before. @sdrabenh this is ready for you . @zhaobin74 has tested for v12 MOM6 C90 coupled run. |
Testing of coupled MOM6 at C180 with V12 BCS(and new outlets) also works. |
Boundary conditions produce river routing file with coupled grid runs. ( *.TRN)
Current problem: This file right from the package on develop now would have to be manually adjusted if we wanted to use it with GCM coupled runs. All routing outlets should end up in oceans but that is not the case with develop version.
This PR brings preprocessing tools used to create new “Outlet” file used during boundary conditions package runs to produce more correct river outlet information for coupled runs. Everyting will now end up in the ocean.
Once we conform this information we will add code changes to point and use “v2” of this Outlet file.
This PR is zero diff for AGCM but not zero diff for boundary conditions package.
This PR is related to issue: #681
@gmao-rreichle @sanAkel