bug: Updates to snow mass and snow height resulting from snow repartitioning in dart_to_clm.f90 are causing CLM to generate NaN fluxes to the coupler and NaN state variables.
Nobody has claimed this yet.
- Dominant language
- Fortran
- Stars
- 263
- Forks
- 182
- Avg merge
- 11d 12h
- Merged PRs (30d)
- 7
Description
🐛 Your bug may already be reported!
Please search on the issue tracker before creating a new issue.
Describe the bug
I am using the snow repartition in dart_to_clm.f90 for my snow data assimilation project.
The dart_to_clm.f90 used in my project has the latest commit 8c75bd38da3ff71175b1452d8d79bae89b725ebf
At the assimilation step, the snow observation was successfully assimilated into CLM, and the snow mass (both liquid and ice components) and snow thickness in the restart files were updated with no error. However, when CLM continued running with these restart files where the snow mass and snow thickness were updated, it stopped with an error.
Error Message
clm: completed timestep 1489
# of NaNs = 7
Which are NaNs = F F F F F F T F F T F F F F F F F F F F F F F F F F F F F F F
F F F F F T T T T F F F F T F F F F F F F F F F F F F F F F F F F F F F F F
Sl_t
Sl_snowh
Fall_lat
Fall_sen
Fall_lwup
Fall_evap
Flrl_rofsur
gridcell index = 77
local gridcell index = 77
ENDRUN:
ERROR:
lnd_export ERROR: One or more of the output from CLM to the coupler are NaN
Which model(s) are you working with?
clm with the version as release-cesm2.2.01
Screenshots
If applicable, add screenshots to help explain your problem.
Version of DART
Which version of DART are you using?
You can find the version using git describe --tags
v10.7.0-111-g70e6af803
Have you modified the DART code? No
If your code changes are available on GitHub, please provide the repository.
Build information
Please describe:
- The machine you are running on (e.g. windows laptop, NSF NCAR supercomputer Derecho).
I am using the HPC provided by University of Utah. - The compiler you are using (e.g. gnu, intel).
intel
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with dart_to_clm.f90 at the latest commit cited in the report and reproduce the CLM release-cesm2.2.01 run using the updated restart files. Trace the listed NaN state variables and coupler outputs at gridcell 77; done means identifying why snow repartitioning produces invalid values and preventing the lnd_export NaN error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100