Can you please run the following command and share the output?
ncdump -h /public1/home/sc91441/cesm_inputdata/ocn/pop/gx1v6/ic/ecosys_jan_IC_omip_POP_gx1v7_c190615.nc
. That file resides in a different directory on the NCAR machine, but here is what I see:
Code:
$ ncdump -h /glade/p/cesmdata/cseg/inputdata/ocn/pop/gx1v6/ic/ecosys_jan_IC_omip_POP_gx1v7_c190615.nc | grep vert_grid
:vert_grid_file = "/gpfs/fs1/work/klindsay/analysis/pop-tools/pop_tools/input_templates/gx1v7_vert_grid" ;
The string
/gpfs/fs1/work/klindsay/analysis/pop-tools/pop_tools/input_templates/gx1v7_vert_grid
is what the model is attempting to store in the
work_line
variable, and I'm confused about why your case is reporting this string as being 610 characters long.
In the meantime, bumping the length from 512 (which you have it currently set to) to 768 should be sufficient to get past this error... but it might result in a seperate error because I doubt the string we are copying this value to is long enough to hold the entire thing.