[MITgcm-support] sample mnc output request

jeff polton jpolton at ucsd.edu
Sat Sep 24 16:55:14 EDT 2005


Daniel, Ed,
That is very useful. It illustrates that I seem to have the mexcdf 
files for Matlab correctly installed. Thank you for your time. I shall 
continue to probe my MNC problem deeper.
Jeff

On Sep 21, 2005, at 10:01 PM, Daniel Enderton wrote:

> Hello Jeff,
>
> The rdmnc.m function that was checked was a bit old.  I check in an 
> updated version that I have been using for some time now which has 
> improvements such as not being able to read iterations spanning 
> multiple files in the 'T' (time) dimension.  To use rdmnc.m, first get 
> some mnc files, such as those Ed pointed to:
>
> http://mitgcm.org/eh3/MNC/mnc_test_20050921_0001/grid.*
>
> Then simply use the command (with the grid.* files in the working 
> directory) :
>
> >> data = rdmnc('grid.*')
> data =
>   attributes: [1x1 struct]
>   Z: [5x1 double]
>   RC: [5x1 double]
>   (Continued)
>
> Hope that is useful.
>
> Daniel
>
>> On Wed, 2005-09-21 at 21:30 -0400, Ed Hill wrote:
>>  > But, before downloading any files, are you certain that you have 
>> the
>>  > "NetCDF Toolbox for MatLAB" (aka mexcdf53 or mexcdf60) or mexcdf
>>  > installed?  By default, MatLAB has *no* netCDF support.  You must
>>  > install an add-on package in order to use MatLAB for netCDF 
>> processing:
>>  >
>>  >   http://mexcdf.sourceforge.net/
>>  >
>>  > and its this toolbox that most of our scripts rely upon.
>>
>>  Hi Jeff,
>>
>>  I just checked and I've been using the older mexcdf53 version for 
>> some
>>  time now.  I put a copy of the Linux binary (which has been used on 
>> RH9,
>>  FC2, FC3, and now FC4) at:
>>
>>    http://mitgcm.org/eh3/matlab_netcdf/
>>
>>  which also includes a simple matlab wrapper script that shows how to 
>> set
>>  the MATLABPATH environment variable.
>>
>>  And if you have any doubts about the integrity of a netCDF file you 
>> can
>>  always look at it with ncdump.
>>
>>  Ed
>>
>>  --
>>  Edward H. Hill III, PhD
>>  office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
>>               Cambridge, MA 02139-4307
>>  emails:  eh3 at mit.edu                ed at eh3.com
>>  URLs:    http://web.mit.edu/eh3/    http://eh3.com/
>>  phone:   617-253-0098
>>  fax:     617-253-4464
>>
>>  _______________________________________________
>>  MITgcm-support mailing list
>>  MITgcm-support at mitgcm.org
>>  http://mitgcm.org/mailman/listinfo/mitgcm-support
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2469 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050924/c72a81fe/attachment.bin>


More information about the MITgcm-support mailing list