[MITgcm-devel] obcs/exf and yearlyfields
Martin Losch
Martin.Losch at awi.de
Thu Jan 24 16:06:36 EST 2008
Dimitris,
as you have probably noticed, I have checked in the proposed changes.
The useYearlyFields stuff is completely analogous to exf_set_gen.F,
so if you find a but there you'll have to copy the fix 4 times (four
subroutines in exf_set_obcs.F), quite annoying. Maybe it makes sense
to turn this check into a separate generic character function of
subroutine that can be called from any routine with the arguments
(useYearlyFields,genperiod,genfile,twoDigitYear,year)?
Has the bug you mentioned to do with the fact that in exf_init_gen,
the model looks for the genfile and not for genfile_year?
Martin
On 24 Jan 2008, at 17:49, Dimitris Menemenlis wrote:
>> I can use useObcsYearlyFields, but where does this go? Into
>> data.obcs/data.exf? Default to false?
>
> I guess default to .FALSE. and live in data.obcs ?
> Maybe someone else will comment?
>
>> I was not planning to fix this bug (which I always circumvene by
>> copying the
>> first year, say 1992 to 1991 to have a fake record at the
>> beginning of the
>> intergration), looks to me like one would have to look for the
>> file and if it
>> is not available use genfile(1:il),'_',year1 instead (in
>> exf_set_gen)?
>
> OK. I will look into this briefly. It has been on my todo list
> for 2 years. It's not exactly what you describe. I think it's an
> initialization bug. Maybe just a wrong check. Will get back. D.
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list