Dear Scientists,
I have successfully run a regional SP spin-up case using my own atmospheric forcing data, land use , LAI and soil data with version CTSM-ctsm5.2.005. Then I ran SpinupStability_SP_v9.ncl to see if the spin-up has reached the equilibrium. But I met an error:
Copyright (C) 1995-2015 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.3.0
The use of this software is governed by a License Agreement.
See NCAR Command Language (NCL) for more details.
(0) =========================================
(0) Start Time: Mon Jul 15 21:49:20 CST 2024
(0) =========================================
warning:FileReadVar: mcdate contains a 0 length dimension
warning:FileReadVar: time contains a 0 length dimension
fatal:["NclFile.c":2099]:Subscript out of range, error in subscript #0
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 72 in file SpinupStability_SP_v9.ncl
then I checked the SpinupStability_SP_v9.ncl. The code at or near line 72 are as below: (note that I set annual_hist= "True")
if (annual_hist .eq. "True") then
lstyrdim = dimsizes(lstfile->mcdate)
mcdate_lst = lstfile->mcdate(lstyrdim-1) #line 72
else
mcdate_lst = lstfile->mcdate
end if
I wonder if the error is related to variable mcdate and time? I set hist_mfilt = 12 and hist_nhtfrq = 0 for h0 files.I checked the h0*.nc file. I only found that the variable mcdate started at every February. The variables contain the data as below:
data:
mcdate = 210201, 210301, 210401, 210501, 210601, 210701, 210801, 210901,
211001, 211101, 211201, 220101 ;
time = 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 ;
May I ask if the reason for the error is that mcdate data starts from February every year?Or do you have any suggestions? I attached my SpinupStability_SP_v9.ncl below.
Looking forward to your reply. Thank you!
I have successfully run a regional SP spin-up case using my own atmospheric forcing data, land use , LAI and soil data with version CTSM-ctsm5.2.005. Then I ran SpinupStability_SP_v9.ncl to see if the spin-up has reached the equilibrium. But I met an error:
Copyright (C) 1995-2015 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.3.0
The use of this software is governed by a License Agreement.
See NCAR Command Language (NCL) for more details.
(0) =========================================
(0) Start Time: Mon Jul 15 21:49:20 CST 2024
(0) =========================================
warning:FileReadVar: mcdate contains a 0 length dimension
warning:FileReadVar: time contains a 0 length dimension
fatal:["NclFile.c":2099]:Subscript out of range, error in subscript #0
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 72 in file SpinupStability_SP_v9.ncl
then I checked the SpinupStability_SP_v9.ncl. The code at or near line 72 are as below: (note that I set annual_hist= "True")
if (annual_hist .eq. "True") then
lstyrdim = dimsizes(lstfile->mcdate)
mcdate_lst = lstfile->mcdate(lstyrdim-1) #line 72
else
mcdate_lst = lstfile->mcdate
end if
I wonder if the error is related to variable mcdate and time? I set hist_mfilt = 12 and hist_nhtfrq = 0 for h0 files.I checked the h0*.nc file. I only found that the variable mcdate started at every February. The variables contain the data as below:
data:
mcdate = 210201, 210301, 210401, 210501, 210601, 210701, 210801, 210901,
211001, 211101, 211201, 220101 ;
time = 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 ;
May I ask if the reason for the error is that mcdate data starts from February every year?Or do you have any suggestions? I attached my SpinupStability_SP_v9.ncl below.
Looking forward to your reply. Thank you!