squerin squerin at ogs.trieste.it
Tue Oct 7 18:54:18 EDT 2014

Hi Sonya,

I think that the easiest way to prescribe constant forcing is to generate 4
files with two identical records in each one (i.e., the values of T, S, U
and V you want to impose) and a "repeat period" equal to the length of your
simulation. The model will interpolate in time between two identical values
(one at the beginning, one at the end of the run), so you will get constant
forcing throughout your simulation.

For example, if you want constant forcing on the northern boundary starting
01 jan 2014 for a one-year run, just set in your data.exf namelist:


Maybe there are more "elegant" ways to do the job, but this should work
(and you won't have to modify the source code)...



On Tue, 07 Oct 2014 16:00:11 -0400, Sonya Legg <sonya.legg at noaa.gov> wrote:
> Dear MITgcm-ers,
> I want to run MITgcm with prescribed open boundary conditions, with
> values read in from a file. I see that useOBCSprescribe=.TRUE. is the
> way to do this, setting the arrays for the input variables in the files
> OB[N/S/E/W][t/s/u/v] etc. I notice that as currently set up, the input
> files have dimensions of N(horizontal)XNrX time-levels. I want to have
> constant (in time) boundary forcing (i.e. timelevels = 1). I'm having
> trouble figuring out how I give set the time information for the forcing
> - something in exf_readparms.F and namelist exf_nml_obcs?
> Thanks for any pointers
> Sonya
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

More information about the MITgcm-support mailing list