[MITgcm-support] Reading data

Eric Firing efiring at hawaii.edu
Sat Feb 20 10:36:19 EST 2016


Alejandro,

Include the line "useMNC=.TRUE." in input/data.pkg.  Then use 
input/data.mnc to configure its use.  I used grep to find that the 
following examples in the verification directory are already set up to 
use the mnc package:

./fizhi-cs-aqualev20/input/data.pkg: useMNC=.TRUE.,
./global_ocean.90x40x15/input_ad.bottomdrag/data.pkg: useMNC       = .TRUE.,
./global_ocean.cs32x15/input/data.pkg: useMNC=.TRUE.,
./hs94.cs-32x32x5/input/data.pkg: useMNC=.TRUE.,
./ideal_2D_oce/input/data.pkg: useMNC=.TRUE.,
./internal_wave/input/data.pkg: useMNC=.TRUE.,
./inverted_barometer/input/data.pkg: useMNC=.TRUE.,
./isomip/input.htd/data.pkg: useMNC=.TRUE.,
./isomip/input_ad/data.pkg: useMNC=.TRUE.,
./rotating_tank/input/data.pkg: useMNC=.TRUE.,
./tutorial_advection_in_gyre/input/data.pkg: useMNC=.TRUE.,
./tutorial_barotropic_gyre/input/data.pkg: useMNC=.TRUE.,
./tutorial_dic_adjoffline/input_ad/data.pkg: useMNC=.TRUE.,
./vermix/input/data.pkg: useMNC=.TRUE.,
./vermix/input.ggl90/data.pkg: useMNC=.TRUE.,
./vermix/input.my82/data.pkg: useMNC=.TRUE.,
./vermix/input.opps/data.pkg: useMNC=.TRUE.,
./vermix/input.pp81/data.pkg: useMNC=.TRUE.,

Eric

On 2016/02/20 2:41 AM, Alejandro Jiménez Rico wrote:
> Eric,
>
> Thanks for your advice. I'm tryng so. How do I change the output format?
>
>  > To: mitgcm-support at mitgcm.org
>  > From: efiring at hawaii.edu
>  > Date: Wed, 10 Feb 2016 06:28:58 -1000
>  > Subject: Re: [MITgcm-support] Reading data
>  >
>  > Alejandro,
>  >
>  > I suggest you change the output format to netcdf by using the mnc
>  > package instead of the mdsio. Mathematica has a facility for reading
>  > netcdf: https://reference.wolfram.com/language/ref/format/NetCDF.html,
>  > and in general netcdf is much easier to work with using a wide variety
>  > of tools and languages.
>  >
>  > Eric
>  >
>  > On 2016/02/10 12:35 AM, Alejandro Jiménez Rico wrote:
>  > > Hello, my name is Alejandro. I am studying Physics in UAB (Barcelona,
>  > > Spain) and I am learning how to manage with MITgcm.
>  > >
>  > > I would like to ask for some help. I am working out exp2 and I want to
>  > > read the .data output using Mathematica, but I don't know how to do it.
>  > >
>  > > Thank you,
>  > > Alejandro
>  > >
>  > >
>  > > _______________________________________________
>  > > 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
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>




More information about the MITgcm-support mailing list