I want to plot my Roms output with matlab tool Rslice.
In Rslice the default start variable is bathymetry h; but in my Roms application my bathymetry can change with time and so it is a 3D variable calls 'bath'. If I want to use as the startup variable 'bath' rather than h, I type:
f = /home/michele/Desktop/ocean_his.nc
rslice ( 'file', f, 'variable', 'bath' )
WARNING: Classified as XY
??? Undefined function or variable "h".
Error in ==> rslice/private/snc_roms_get_grid at 140
hmin=min(min(h));
Error in ==> rslice/private/rslice_initialize>rslice_init_grid at 660
roms_grid = snc_roms_get_grid ( gdata.ncfile_list{1} );
Error in ==> rslice/private/rslice_initialize at 187
gdata.rslice_grid = rslice_init_grid ( hObject, gdata );
Error in ==> rslice>rslice_OpeningFcn at 480
rslice_initialize ( hObject, options );
Error in ==> gui_mainfcn at 166
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in ==> rslice at 324
gui_mainfcn(gui_State, varargin{:});
It doesn't work as above if I use any variables of my netcdf file as startup variable.
I use ncview to view quickly my Netcdf output file.But It doesn't plot in vertical coordinate. Is there a software like ncview or any tool for Matlab for beginners?
![Embarassed :oops:](./images/smilies/icon_redface.gif)
I'm novice in modelling.I'm student and I need to plot my Roms output for my graduate thesis.
I need your help!
Thank so much for advice!
Michele
![Very Happy :D](./images/smilies/icon_biggrin.gif)