[ecco-support] problem with reading grid files

HONG ZHANG hong.zhang at ucla.edu
Tue May 28 11:43:23 EDT 2019


On 5/24/19 7:49 AM, Fanglou Liao wrote:
> Hi There
>
> I am an ECCO user from the university of south florida. I am quite new 
> to ECCO and encounter a problem when I try to read grid.
>
> when I use grid_load to load the grid, it always remined me as follows:
>
> grid files not found; please specify
>  names (e.g. 'grid_cs32*bin')
>
> my code is like this (***** is my name, I tried all these directories 
> but all failed)
> dirGrid1='/home/****/Documents/ECCO/matlab_class/nctiles_grid/';
> dirGrid2='/home/*****/nctiles_grid/';
> dirGrid3='/home/*****/software/MATLAB2018b/nctiles_grid/';
> dirGrid4='/home/*****/software/MATLAB2018b/matlab_class/nctiles_grid/';
> dirGrid5='/run/user/1000/gvfs/smb-share:server=oceclinas.marine.usf.edu 
> <http://oceclinas.marine.usf.edu>,share=data/ORAs/ECCOv4r3/nctiles_grid/';
> if ~isdir(dirGrid1); error('missing GRID/ directory'); end;
>
> nF=5; fileFormat='nctiles';  %format specification
> grid_load(dirGrid3,nF,fileFormat);
This command looks OK
> grid_load;
why load again w/o any argument here?
cheers
Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/ecco-support/attachments/20190528/90e80469/attachment.html


More information about the ecco-support mailing list