Skip to content

subset_data still having trouble with Longitude #3279

@samsrabin

Description

@samsrabin

Brief summary of bug

This time it's in setting up the case, as reported by @katierocci. It's also in the name of the file if you don't specify a --site.

General bug information

CTSM version you are using: [output of git describe]

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: Single-point case.

Important output or errors that show the problem

Bad filenames look like 'surfdata_<ctsm.longitude.Longitude object at 0x7fc9d9bacc20>_45.402252_hist_2000_16pfts_c250625.nc'.

Here's the error in create_newcase:

krocci@derecho3:/glade/work/krocci/CTSM5.3.049/cime/scripts> ./create_newcase --case /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix --res CLM_USRDAT --compset I2000Clm60Bgc --run-unsupported --user-mods-dirs
/glade/derecho/scratch/krocci/ccc3_crujra/user_mods/
Compset longname is 2000_DATM%GSWP3v1_CLM60%BGC_SICE_SOCN_MOSART_SGLC_SWAV
Compset specification file is /glade/work/krocci/CTSM5.3.049/cime_config/config_compsets.xml
Automatically adding SESP to compset
Compset forcing is 1972-2004
ATM component is Data driven ATM GSWP3v1 data set
LND component is clm6.0:BGC (vert. resol. CN and methane):
ICE component is Stub ice component
OCN component is Stub ocn component
ROF component is MOSART: MOdel for Scale Adaptive River Transport
GLC component is Stub glacier (land ice) component
WAV component is Stub wave component
ESP component is Stub external system processing (ESP) component
Pes specification file is /glade/work/krocci/CTSM5.3.049/cime_config/config_pes.xml
Compset specific settings: name is RUN_STARTDATE and value is 2000-01-01
Machine is derecho
Pes setting: grid match is l%1x1|l%CLM_USRDAT
Pes setting: grid is a%CLM_USRDAT_l%CLM_USRDAT_oi%null_r%null_g%null_w%null_z%null_m%null
Pes setting: compset is 2000_DATM%GSWP3v1_CLM60%BGC_SICE_SOCN_MOSART_SGLC_SWAV_SESP
Pes setting: tasks is {'NTASKS_ATM': 1, 'NTASKS_LND': 1, 'NTASKS_ROF': 1, 'NTASKS_ICE': 1, 'NTASKS_OCN': 1, 'NTASKS_GLC': 1, 'NTASKS_WAV': 1, 'NTASKS_CPL': 1}
Pes setting: threads is {'NTHRDS_ATM': 1, 'NTHRDS_LND': 1, 'NTHRDS_ROF': 1, 'NTHRDS_ICE': 1, 'NTHRDS_OCN': 1, 'NTHRDS_GLC': 1, 'NTHRDS_WAV': 1, 'NTHRDS_CPL': 1}
Pes setting: rootpe is {'ROOTPE_ATM': 0, 'ROOTPE_LND': 0, 'ROOTPE_ROF': 0, 'ROOTPE_ICE': 0, 'ROOTPE_OCN': 0, 'ROOTPE_GLC': 0, 'ROOTPE_WAV': 0, 'ROOTPE_CPL': 0}
Pes setting: pstrid is {}
Pes other settings: {}
Pes other settings append: {}
Pes comments: none
setting additional fields from config_pes: {}, append {}
Compset is: 2000_DATM%GSWP3v1_CLM60%BGC_SICE_SOCN_MOSART_SGLC_SWAV_SESP
Grid is: a%CLM_USRDAT_l%CLM_USRDAT_oi%null_r%null_g%null_w%null_z%null_m%null
Components in compset are: ['datm', 'clm', 'sice', 'socn', 'mosart', 'sglc', 'swav', 'sesp']
Using project from .cesm_proj: P93300041
No charge_account info available, using value from PROJECT
cesm model version found: ctsm5.3.049
Batch_system_type is pbs
job is case.run USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None WALLTIME_FORMAT %H:%M:%S
job is case.st_archive USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None WALLTIME_FORMAT %H:%M:%S
job is case.cupid USER_REQUESTED_WALLTIME None USER_REQUESTED_QUEUE None WALLTIME_FORMAT %H:%M:%S
Creating Case directory /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix
Adding user mods directory /glade/derecho/scratch/krocci/ccc3_crujra/user_mods
RUN: /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands
FROM: /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix
stat: 2

errput: /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands: line 6: syntax error near unexpected token `newline'
/glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands: line 6: `./xmlchange --force PTS_LON=<ctsm.longitude.Longitude object at 0x7f34cb836a90>'

Failed to setup case, removing /glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix
Use --debug to force me to keep caseroot
ERROR: Command: '/glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands' failed with error '/glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands: line 6: syntax error near unexpected token `newline'
/glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix/shell_commands: line 6: `./xmlchange --force PTS_LON=<ctsm.longitude.Longitude object at 0x7f34cb836a90>'' from dir '/glade/work/krocci/CedarCreek/MIMICS/CC_mimics_CLM5.3.049_100yr_fix'

Metadata

Metadata

Assignees

Labels

bugsomething is working incorrectly

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions