Skip to content
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

Add subglacial discharge at grounding line #6508

Merged
merged 73 commits into from
Aug 29, 2024

Conversation

irenavankova
Copy link
Contributor

@irenavankova irenavankova commented Jul 11, 2024

This introduces subglacial discharge (at the moment a fixed file interpolated from MALI output) at the grounding line as a freshwater volume flux at local freezing point. It follows closely what river runoff does.

Related Ocean Discussion is here:
E3SM-Ocean-Discussion#82

[NML]
[BFB]

@jonbob
Copy link
Contributor

jonbob commented Jul 25, 2024

@xylar -- thanks, I think that makes sense

@@ -274,6 +274,7 @@
"ERS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF.mpaso-jra_1958",
"PEM_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF.mpaso-jra_1958",
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-TMIX.mpaso-jra_1958",
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.mpaso-jra_1958",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! This is nearly identical to the test I ran:

SMS_P480_Lm1.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.chrysalis_intel

It just brings in one year of JRA forcing and runs for only 5 days, not a month. So I'm sure it will work great!

@xylar
Copy link
Contributor

xylar commented Jul 25, 2024

@irenavankova, I think you accidentally took out @jonbob's commit that fixed the order of the namelist options, etc. I'll try to find that commit so you can cherry-pick it back on.

@irenavankova
Copy link
Contributor Author

@jonbob, I made the changes Xylar asked for, so I think this is now yours? Unless there are other things you think I should change.

@xylar
Copy link
Contributor

xylar commented Jul 25, 2024

Here's the commit:
0288938
Can you do:

git cherry-pick 0288938beae15cf92f0a86d077e0cd12b3ffaf3c

and see if that works? You may need to do a git-fetch from your fork for that commit to be available.

@xylar
Copy link
Contributor

xylar commented Jul 25, 2024

Oh, sorry, I see @jonbob's commit. My mistake.

@irenavankova
Copy link
Contributor Author

I accidentally took two commits out but then added them back in right away. So should be good now.

@irenavankova
Copy link
Contributor Author

I added a missing check for subglacial package that only came up to be missing when I was doing tests with this code base merged wtih Carolyn's tracers branch and tracers were active.

@rljacob
Copy link
Member

rljacob commented Aug 15, 2024

Is this ready?

@irenavankova
Copy link
Contributor Author

By me yes, but I don't know if @jonbob has anything to add.

.gitignore Outdated Show resolved Hide resolved
@xylar
Copy link
Contributor

xylar commented Aug 26, 2024

@irenavankova is away but I think she would like to keep this moving along so I went ahead and reverted the changes to .gitignore.

jonbob added a commit that referenced this pull request Aug 28, 2024
…6508)

This introduces subglacial discharge (at the moment a fixed file
interpolated from MALI output) at the grounding line as a freshwater
volume flux at local freezing point. It follows closely what river
runoff does.

[NML]
[BFB]
@jonbob
Copy link
Contributor

jonbob commented Aug 28, 2024

Passes:

  • ERP_Ld3.ne30pg2_r05_IcoswISC30E3r5.WCYCL1850.chrysalis_intel.allactive-pioroot1
  • PET_Ln5.T62_oQU240wLI.GMPAS-DIB-IAF-PISMF.chrysalis_intel

with expected NML DIFFs. Also successfully runs the new test:

  • SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.chrysalis_intel.mpaso-jra_1958

merged to next

@jonbob jonbob merged commit f50d263 into E3SM-Project:master Aug 29, 2024
21 checks passed
@jonbob
Copy link
Contributor

jonbob commented Aug 29, 2024

merged to master and all expected NML DFFs have been blessed except on mappy, which did not report today

@xylar
Copy link
Contributor

xylar commented Aug 29, 2024

Thanks @jonbob! I know this has been quite a bit of work. I'm sure @irenavankova will be very happy to have this in when she gets back.

jonbob added a commit that referenced this pull request Oct 3, 2024
Adds some variables were introduced in PR #6508 and not icluded in the
appropriate omp private statement. These variables are only used for
data subglacial runoff, so this does not impact current tests. Also
changes the current GMPAS-JRA1p5-DIB-PISMF-DSGR test to PET to watch
for threading issues.

[BFB]
jonbob added a commit that referenced this pull request Oct 4, 2024
Add missing omp private variables for data subglacial runoff

Adds some variables were introduced in PR #6508 and not icluded in the
appropriate omp private statement. These variables are only used for
data subglacial runoff, so this does not impact current tests. Also
changes the current GMPAS-JRA1p5-DIB-PISMF-DSGR test to PET to watch
for threading issues.

[BFB]
jonbob added a commit that referenced this pull request Oct 9, 2024
…o next (PR #6672)

Fix variables in data subglacial runoff

This fixes a typo in PR #6508, where
  config_flux_attenuation_coefficient_runoff
was mistakenly used in kpp loop instead of
  config_flux_attenuation_coefficient_subglacial_runoff
These variables are only used for data subglacial runoff.

[BFB] for all tested configurations
jonbob added a commit that referenced this pull request Oct 10, 2024
…6672)

Fix variables in data subglacial runoff

This fixes a typo in PR #6508, where
  config_flux_attenuation_coefficient_runoff
was mistakenly used in kpp loop instead of
  config_flux_attenuation_coefficient_subglacial_runoff
These variables are only used for data subglacial runoff.

[BFB] for all tested configurations
xylar added a commit to xylar/compass that referenced this pull request Oct 26, 2024
This merge updates the E3SM-Project submodule from [727ad81](https://github.com/E3SM-Project/E3SM/tree/727ad81) to [1442143](https://github.com/E3SM-Project/E3SM/tree/1442143).

This update includes the following MPAS-Ocean and MPAS-Frameworks PRs (check mark indicates bit-for-bit with previous PR in the list):
- [ ]  (ocn) E3SM-Project/E3SM#6509
- [ ]  (ocn) E3SM-Project/E3SM#6508
- [ ]  (fwk) E3SM-Project/E3SM#6575
- [ ]  (ocn) E3SM-Project/E3SM#6590
- [ ]  (fwk) E3SM-Project/E3SM#6643
- [ ]  (ocn) E3SM-Project/E3SM#6656
- [ ]  (ocn) E3SM-Project/E3SM#6672
- [ ]  (ocn) E3SM-Project/E3SM#6659
- [ ]  (ocn) E3SM-Project/E3SM#6497
- [ ]  (ocn) E3SM-Project/E3SM#6485
- [ ]  (ocn) E3SM-Project/E3SM#6566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB mpas-ocean NML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants