Ask Your Question
0

Problem with make_ini_bioebus.m, not adding variables to .nc

asked 2020-10-22 19:45:57 +0100

Hi,

I have a problem with croco_ini_bioebus.m, when I run it there is no error message, but it is not adding the following variables to the croco_ini.nc file:

NO2, NH4, SPHYTO, LPHYTO, SZOO, LZOO, SDET, LDET, DON, N2O

My domain is in the Gulf of Aden, the coordinates are:

Latitude: [10,15] Longitude: [41.55,55.5]

I'm also attaching my .out file C:\fakepath\croco_Y1M1.txt

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-10-22 20:57:19 +0100

andres gravatar image

Hi,

From your .out file, it is not a problem if these variables are not in the INI file. The model asigns a default value for that variable.

GET_INITIAL - unable to find variable: N2O in input NetCDF file: croco_ini.nc -> analytical value

What points to an error is this line

SET_CYCLE ERROR: Algorithm failure while processing variable: tclm_time.

The variable tclm_time is in the croco_clm.nc file

(base) matlab@debian:/data1/matlab/Benguela_LR/SCRATCH$ ncdump -h croco_clm.nc | grep tclm tclm_time = 12 ; double tclm_time(tclm_time) ; tclm_time:long_name = "time for temperature climatology" ; tclm_time:units = "day" ; tclm_time:calendar = "360.0 days in every year" ; tclm_time:cycle_length = 360. ; double temp(tclm_time, s_rho, eta_rho, xi_rho) ;

and it looks ok

data:

tclm_time = 15, 45, 75, 105, 135, 165, 195, 225, 255, 285, 315, 345 ;

So not sure why it fails....

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-10-22 19:45:57 +0100

Seen: 453 times

Last updated: Oct 22 '20