[MITgcm-support] gendata.m

Martin Losch Martin.Losch at awi.de
Thu Nov 26 04:27:00 EST 2015


Hi Tony,

I am afraid that you will have to do this on your own, and it’s pretty obvious:
- Find databases for bathymetry and forcing that you like or think are appropriate
- interpolate (at least bathymetry) to your model grid. 
- for bathymetry you have to make sure that you domain is “sensible”, i.e. you don’t have bays without a connection to the ocean, etc. There’s a recent paper by Alistair Adcroft (2013, Ocean Modelling, doi:10.1016/j.ocemod.2013.03.002.), where he discusses some aspects of this.
- for the forcing you can use the interpolation capabilities of the exf-package, there’s an example in “global_with_exf”. I suggest to study the exf-package a little, because it makes importing forcing much simpler (in most cases) <http://mitgcm.org/public/r2_manual/latest/online_documents/node246.html>
- you can see how you generate the input format in matlab in many “gendata.m” file in the verification experiment (cd verification && ls */input*/gendata.m)

Martin

> On 26 Nov 2015, at 02:37, Guiting Song <guitingsong at gmail.com> wrote:
> 
> Hi, Martin,
> 
> Many thanks for your reply. Then, could you suggest how to generate the input data for a realistic domain especially for a global run at about 0.25 degree resolution? I am a new player for MITgcm, I search for a long time and study your mannual. But I am still not sure how to generate the input data such as bathymatry, wind forcing and climatology for MITgcm.
> 
> 
> 
> Best regards,
> Tony
> 
> 
> 
> 
> On Wed, Nov 25, 2015 at 6:45 PM, Martin Losch <Martin.Losch at awi.de> wrote:
> Hi Tony,
> 
> that’s probably an error in the documentation, an erroneous copy and paste from a different experiment description. The text should just read:
> 
> "The input/bathymetry.bin file specifies a two-dimensional (x,y) map of depth values. The file contains a raw binary stream of data that is enumerated in the same way as standard MITgcm two-dimensional, horizontal arrays.”
> 
> There is no “gendata.m” associated with this experiement (because it is quite involved to generate the input data for a realistic domain). Sorry about that, I’ll fix the documentation.
> 
> M.
> 
> 
> 
> 
> 
> 
> > On 25 Nov 2015, at 08:33, Guiting Song <guitingsong at gmail.com> wrote:
> >
> > In the user manual section of 3.12 Global Ocean Simulation at 4 Resolution, mentioned that The included matlab program input/gendata.m gives a complete code for creating the input/topog.box file.
> >
> > However, from my download version, there is no such a file, is anybody willing to share me this file?
> >
> > Best regards,
> > Tony
> > _______________________________________________
> > 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