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

Updates land build namelist to account for mask #862

Merged
merged 1 commit into from
Apr 28, 2016

Conversation

bishtgautam
Copy link
Contributor

clm.buildnml scripts now sends -mask to
build-namelist script. This generates land namelist
with correct finidat value when there are multiple
land-ocean masks (e.g. gx1v6 and oEC60to30) for a single
land grid (e.g. ne30np4).

This change requires that all new land-ocean masks must
be added in components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

Fixes #861
[NML]

clm.buildnml scripts now sends -mask <land-mask> to
build-namelist script. This generates land namelist
with correct finidat value when there are multiple
land-ocean masks (e.g. gx1v6 and oEC60to30) for a single
land grid (e.g. ne30np4).

This change requires that all new land-ocean masks must
be added in components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

Fixes #861
[NML]
@golaz
Copy link
Contributor

golaz commented Apr 22, 2016

@bishtgautam thanks for fixing this. I don't understand the impact of the bug. Can you briefly explain what the consequences of this bug were? Will the fix change answers?

@rljacob : this should probably be also incorporated in v1.0.0-alpha.5?

@bishtgautam
Copy link
Contributor Author

At present, it appers that there is no valid compset + resolution + land ic file combination in which this bug manifests itself. But, let's assume that we have a land ic file for ne30_oEC. Then, based on the issue-#861, CLM_BLDNML_OPTS has an incorrect value for -mask as oRRS15to5 for a case created with -res ne30_oEC. This error in the mask would generate a namelist with finidat correpsonding to oRRS15to5 land-ocean mask instead of oEC60to30 land-ocean mask. The simulation would eventually crash during land initialization stage.

@golaz golaz added this to the v1.0 Alpha.5 milestone Apr 25, 2016
@rljacob rljacob self-assigned this Apr 26, 2016
rljacob added a commit that referenced this pull request Apr 27, 2016
clm.buildnml scripts now sends -mask to
build-namelist script. This generates land namelist
with correct finidat value when there are multiple
land-ocean masks (e.g. gx1v6 and oEC60to30) for a single
land grid (e.g. ne30np4).

This change requires that all new land-ocean masks must
be added in
components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

Fixes #861
[NML]
@bishtgautam
Copy link
Contributor Author

Hi @jonbob, In this PR, the land build namelist is modified w.r.t. land/ocean mask, so I'm bringing the change to your attention. If you add new land/ocean mask, don't forget to add them in the land namelist_definition_clm4_5.xml#L1125.

@jonbob
Copy link
Contributor

jonbob commented Apr 27, 2016

@bishtgautam - thanks for letting me know. And I'll be careful. Just out of curiosity, does this include the other two resolutions we had discussed -- ne30_oRRS30to5 and ne30_oQU120?

@bishtgautam
Copy link
Contributor Author

oQU120 is already included, but not oRRS30to5. There is a oRRS30to10 mask.

@jonbob
Copy link
Contributor

jonbob commented Apr 27, 2016

sorry -- cut-and-paste error. Yes, the ne30_oRRS30to10

@golaz
Copy link
Contributor

golaz commented Apr 28, 2016

@rljacob : you can decide whether this should go in alpha.5 or be merged later.

@rljacob
Copy link
Member

rljacob commented Apr 28, 2016

It will be on master today.

@tangq
Copy link
Contributor

tangq commented Apr 28, 2016

Hi @rljacob , will this PR on master today as planned?

@rljacob rljacob merged commit b18f3b4 into master Apr 28, 2016
rljacob added a commit that referenced this pull request Apr 28, 2016
clm.buildnml scripts now sends -mask to
build-namelist script. This generates land namelist
with correct finidat value when there are multiple
land-ocean masks (e.g. gx1v6 and oEC60to30) for a single
land grid (e.g. ne30np4).

This change requires that all new land-ocean masks must
be added in
components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

Fixes #861
[NML]
@rljacob
Copy link
Member

rljacob commented Apr 29, 2016

@tangq this is also now on master and in the new alpha.5 tag.

@bishtgautam bishtgautam deleted the bishtgautam/lnd/buildnml branch April 29, 2016 00:40
jgfouca pushed a commit that referenced this pull request Jun 2, 2017
add ability to remove tabs in shr_string_lalign
Removal of tabs from strings in stream files

Test suite: scripts_regression_tests
also manual verification that if tabs were introduced in a streams text file
(e.g. datm.streams.txt.CORE2_NYF.GISS)
then the resulting data model behaved correctly
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes #862
User interface changes?: None
Code review:sacks, edwards,
jgfouca pushed a commit that referenced this pull request Jun 2, 2017
Convert all tabs to spaces in data model stream txt files

Test suite: scripts_regression_tests
also manual verification that if tabs were introduced in a streams text file
(e.g. datm.streams.txt.CORE2_NYF.GISS)
then the resulting data model behaved correctly
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes #862
User interface changes?: None
Code review: billsacks
jgfouca pushed a commit that referenced this pull request Feb 27, 2018
clm.buildnml scripts now sends -mask to
build-namelist script. This generates land namelist
with correct finidat value when there are multiple
land-ocean masks (e.g. gx1v6 and oEC60to30) for a single
land grid (e.g. ne30np4).

This change requires that all new land-ocean masks must
be added in
components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

Fixes #861
[NML]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants