Hi Leondardo-
Do you see shifts in your other CLM variables after the restart? Are you restarting part way through the year or at the end of the water year? Can you include the code you are using to copy over the restart files? (probably as a snippet in the email body, .py etc files are blocked when attached).
I’m actively restarting the CONUS2.1 simulations and just checked the SWE (I’ve checked movies of the SWE from CONUS2.0 as well); the current version is running on 70x48 processors and things seem to be working smoothly. The portion of my script that copies the restart files during an automated restart process is below. Hope this helps
Reed
## Restart process below
#copy over RST file
for ii in range(nproc):
rst_to = 'clm.rst.'+f'{istep:05d}'+'.'+f'{(ii):d}'
rst_from = 'clm.rst.00000.'+f'{(ii):d}'
shutil.copy(rst_from,rst_to)
upper Columbia River basin near the US-CA border, this is the first CLM step after a restart
From:
par...@googlegroups.com <par...@googlegroups.com> on behalf of Leonardo Sandoval Pabon <rlsand...@gmail.com>
Date: Thursday, January 30, 2025 at 12:06 PM
To: ParFlow <par...@googlegroups.com>
Subject: Restarting a CLM simulation
Hi everyone!
I'm trying to restart a simulation of PF+CLM. The simulations run successfully, and while the PF variables (subsurface flow and surface flow) show very good continuity between the first and second simulations, the SWE exhibits a rather strong discontinuity.
I checked the spatial distribution of SWE in my domain, and there is a clear error at the initial time step of the second year (see Figure). It seems as if the initial conditions were somehow shifted.
I am using 40 cores and dividing the domain into 8 parts in the x-direction and 5 parts in the y-direction. As a result, I have a total of 40 clm.rst.xxxx.p files, which I copy according to the instructions from the short courses. I’m not sure what I’m doing wrong, so any guidance would be greatly appreciated.
I am running this on a node of the Galileo100 Supercomputer. Each node has 2 × Intel Cascade Lake 8260 CPUs (24 cores each, 2.4 GHz) and 384GB RAM. If it helps, I am attaching my Python script along with the drv_clm.dat files for the first
and second years.
Thank you! I'm happy to share more inputs if needed.
--
You received this message because you are subscribed to the Google Groups "ParFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
parflow+u...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/parflow/a2db59fb-97f5-48c8-95e9-223570a38206n%40googlegroups.com.
What’s in simplify_dynamic.py? how are you writing your output?
From:
par...@googlegroups.com <par...@googlegroups.com> on behalf of Leonardo Sandoval Pabon <rlsand...@gmail.com>
Date: Friday, January 31, 2025 at 4:47 AM
To: ParFlow <par...@googlegroups.com>
Subject: Re: Restarting a CLM simulation
Yes, after inspecting the other variables I see that they have the same behavior/problem (See figure). In the first simulation, I run 8,760 hours (1 year) with dump intervals of 24 hours (ParFlow) and 1 hour (CLM). Then, I run the second simulation also for 1 year.
To view this discussion visit https://groups.google.com/d/msgid/parflow/1f6c6eec-681d-45df-9622-3fbc85e218adn%40googlegroups.com.
Simplify_dynamic is a rather long script that essentially moves files to a scratch folder to clean up the working folder. The main tasks performed by this script are:
Copying all Runname.out.press.* and Runname.out.satur.* files to a scratch folder. Note that the pressure and saturation files from the last time step of the first simulation remain in the working folder.
Aggregating all CLM variables by day. The script computes the sum of each variable per day and saves the aggregated values in a .npy file, which is stored in the scratch folder. Note that the CLM file from the last hour of the first simulation remains in the working folder.
Making a copy of the clm.rst.xxx files in the scratch folder. This is just a copy; the original files remain in the working folder.
! IC Source: (1) restart file, (2) drv_clmin.dat (this file)
!
startcode 2 1=restart file,2=defined
clm_ic 2 1=restart file,2=defined