CTSM in single point mode

Status
Not open for further replies.

idunkl

István Dunkl
New Member
Hi everyone,
I'm trying to set up a single point simulation with CTSM (version 5.1.dev086) following this. Here is my setup:

./create_newcase --case /home/m/m300755/CTSM_runs/Site10 --res f09_g17 --compset I1850Clm50BgcCropCmip6 --run-unsupported --mach levante --pecount 1
cd /home/m/m300755/CTSM_runs/Site10
./xmlchange ROOTPE=0,PTS_LAT=52,PTS_LON=7
./xmlchange MOSART_MODE=NULL
I don't know what the problem is at this point. Happy to hear solutions or other approaches to single point simulations.
Thanks a lot in advance!
 

Attachments

idunkl

István Dunkl
New Member
Hi, I have tried that method before, however I ran into some difficulties with the scripts used to subsetting the forcing and creating the domain files.
Using ./subset_data point i got stuck here:
./subset_data point --lat 52.5 --lon 7.5 --site my_point --create-surface --create-datm --datm-syr 1901 --datm-eyr 2000 --include-nonveg --create-user-mods --outdir /work/mj0143/m300755/CTSM_forcing/my_loc --overwrite
WARNING: No dominant pft type is chosen. If you want to choose a dominant pft type, please use --dompft flag.
Traceback (most recent call last):
File "./subset_data", line 42, in <module>
main()
File "/work/mj0143/m300755/CTSM_CODE/MODEL_CODE/tools/site_and_regional/../../python/ctsm/subset_data.py", line 580, in main
subset_point(args, file_dict)
File "/work/mj0143/m300755/CTSM_CODE/MODEL_CODE/tools/site_and_regional/../../python/ctsm/subset_data.py", line 461, in subset_point
args.user_mods_dir)
File "/work/mj0143/m300755/CTSM_CODE/MODEL_CODE/tools/site_and_regional/../../python/ctsm/site_and_regional/single_point_case.py", line 514, in create_surfdata_at_point
self.update_metadata(f_out)
File "/work/mj0143/m300755/CTSM_CODE/MODEL_CODE/tools/site_and_regional/../../python/ctsm/site_and_regional/base_case.py", line 183, in update_metadata
sha = get_ctsm_git_short_hash()
File "/work/mj0143/m300755/CTSM_CODE/MODEL_CODE/tools/site_and_regional/../../python/ctsm/git_utils.py", line 24, in get_ctsm_git_short_hash
["git", "-C", path_to_ctsm_root(), "rev-parse", "--short", "HEAD"]
File "/home/m/m300755/.conda/envs/ctsm_pylib/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/home/m/m300755/.conda/envs/ctsm_pylib/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/m/m300755/.conda/envs/ctsm_pylib/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/home/m/m300755/.conda/envs/ctsm_pylib/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git': 'git'
 

samrabin

Sam Rabin
Member
That's… a very strange error. Is git maybe not installed or available on the machine you're using? Somehow?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I'm not sure this will tell us anything, but what do you get if you do this in the top level of your clone:

git -C . rev-parse --short HEAD
 
Status
Not open for further replies.
Back
Top