Skip to content

Conversation

@saraqzhang
Copy link
Contributor

@saraqzhang saraqzhang commented Jun 3, 2025

Revised handling of configuration parameters in coupled land-atm DAS:

  • add custom special nml files for coupled land-atm DAS to GEOSldas_GridComp source code
  • hardwire new mwrtm_param path (on project disk) in ldas_setup
  • obtain Nens from fvsetup via command line

0-diff tests by @gmao-rreichle after commit af22d9a:

  • Intel tests passed
  • GNU tests failed comparison (but so did Matt's automated nightly tests for develop, so not a concern for this PR)

@saraqzhang
Copy link
Contributor Author

@gmao-rreichle the changes are tested by offline ldas setup with command line inputs. I consulted with Qing on special nml file content. the uploaded version here are based on what I have had, with minor edits on perturbation std ( updated to 3.0) and RTM_ID ( update to 4 ) . The zscore file and path remain same and need to be updated once we have newly estimated version. The mwtrm files ( C90, C180, C360 ) are already on SMAP project disk, I put it as default path in ldas_setup.

@gmao-rreichle gmao-rreichle added enhancement New feature or request 0-diff labels Jun 3, 2025
@gmao-rreichle gmao-rreichle changed the title new arrangement for special nml and mwtrm path/files revisions for special nml and mwtrm path/files in coupled land-atm DAS Jun 3, 2025
…cific subdirectory (LDASsa_SPECIAL_inputs_ens*.nml)
- added comment about purpose of file
- made consistent with latest version of LDASsa_DEFAULT_inputs_ensupd.nml
- templated resolution-dependency of %scalepath and %scalename
- replaced Discover physical path (/gpfsm/dnb..) with logical path
Copy link
Collaborator

@gmao-rreichle gmao-rreichle left a comment

Choose a reason for hiding this comment

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

@saraqzhang : I revamped the processing of the special nml files and cleaned up the ensupd nml file. See my recent commits and the comments below.

@gmao-rreichle
Copy link
Collaborator

@saraqzhang : I made the changes we discussed this morning. I probably messed up somewhere, so please verify. I still plan to look into cleaning up the _rundir and _etcdir logic (see #102 (comment)), but I don't have time right now and will leave this for later.

@saraqzhang
Copy link
Contributor Author

@gmao-rreichle a fix in Cmakelists subdir name. the action of getting special nml in etc/ to run/ is moved into the function createRCFiles(self) , where all rc etc in etc/ are handled to be copied and modified in run/.
the commited version is tested in offline ldas setup with commandline inputs.

   receive nens from fvsetup when ladas coupling atmens
   a minor fix to nml resolution insertion
@saraqzhang
Copy link
Contributor Author

@gmao-rreichle this commit adds getting nens from ldas ICS ( both det and ens). for coupling det there is no command line nens. for coupling atmens there is command line nens ( from fvsetup finding in atmens/ installed ) and it will be used.

Copy link
Collaborator

@gmao-rreichle gmao-rreichle left a comment

Choose a reason for hiding this comment

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

@saraqzhang : I think we need to count the number of ens members in fvsetup. See comment below

@saraqzhang
Copy link
Contributor Author

@gmao-rreichle now nens to be find by fvsetup and passed to ldas_setup via commandline. Tested by runjob fvsetup calling ldas_setup. Corresponding changes to fvsetup are committed at adas PR#352 branch.

@gmao-rreichle gmao-rreichle changed the title revisions for special nml and mwtrm path/files in coupled land-atm DAS revisions for handling of Nens and special nml and mwtrm path/files in coupled land-atm DAS Jun 7, 2025
@gmao-rreichle
Copy link
Collaborator

Hi @saraqzhang, I added a few very minor cleanup changes (c834ecd) and a CHANGELOG.md entry. I started the 0-diff tests and will update the PR accordingly when I have the results. Assuming the 0-diff tests pass and you agree with my latest changes, the PR is ready for merging.

@saraqzhang
Copy link
Contributor Author

@gmao-rreichle I will pull the final revision here and run a test.

@saraqzhang
Copy link
Contributor Author

@gmao-rreichle the latest version passed setup test, ready to be merged.

@gmao-rreichle gmao-rreichle marked this pull request as ready for review June 9, 2025 18:57
@gmao-rreichle gmao-rreichle requested review from a team as code owners June 9, 2025 18:57
@gmao-rreichle gmao-rreichle merged commit bdc308b into develop Jun 9, 2025
14 checks passed
@gmao-rreichle gmao-rreichle deleted the feature/saraqzhang/ladas_followup2 branch June 9, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-diff enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants