make clim file

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

make clim file

#1 Unread post by mashinde »

Hi ROMS users,

I am RNT toolbox. I have following error ...
>> MAIN_createClima
Current Settings:

setng =

nameit: 'medi16'
outputdir: './'

Return to continue ... (CTRL-C to stop)
Creating clim ..
- Time index is > 12, please make sure to put in the times
vclm_time
tclm_time
sclm_time
ssh_time
uclm_time
temp
salt
zeta
ubar
vbar
u
v
Make Clim DONE.
----------STAGE 3 ----------
Doing Levitus Clima ...
HC set from minumum depth WARNING! 10
-- time level 1
-- vert level 1
??? Error using ==> rnt_fillab_mex
Function "MXCREATEFULL" is obsolete.
If your MEX file or Simulink S-function calls this function, replace it with "MXCREATEDOUBLEMATRIX".
If this error originates from a Fortran Simulink S-function that does not call "MXCREATEFULL", recompile the S-function in the current release.

Error in ==> rnt_fill at 47
[datahat,error]=rnt_fillab_mex(x,y,data,xhat,yhat,a,b);

Error in ==> rnc_LevitusClima at 57
temp(:,:,k,it)=rnt_fill(lon,lat,temp(:,:,k,it),3,3);

Error in ==> MAIN_ncfiles_clima_TS at 17
levitus = rnc_LevitusClima(grd,clmfile,updateClima); % LevitusClima.m

Error in ==> MAIN_createClima at 25
MAIN_ncfiles_clima_TS %MAIN_ncfiles_clima_TS.m
-------------------------------------------------------------------------------------------------------------------
I am using matlab R2009b without simulink toolbox.

Thanks in advance

User avatar
arango
Site Admin
Posts: 1367
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: make clim file

#2 Unread post by arango »

In the ROMS Matlab :arrow: repository you can file the script initial/c_climatology.m which creates ROMS climatology NetCDF file. Notice also that a driver template, initial/d_climatology.m, is also available to illustrate how to create a climatology NetCDF for the distributed case DAMEE_4 using objectively analyzed files (OA package) from Levitus climatology. You can use this driver as a template for you application by following the provided instructions. Then process your data as desired. The NetCDF file created by this script if CF compliant and all the variables are defined as expected.

Alternatively, use the CDL files distributed with ROMS in directory Data/ROMS/CDL. Check the README file for details.

There are a lot of processing scripts for ROMS out there, we cannot control them and only support the ones distributed in the above repository.

Post Reply