[MITgcm-devel] cost_generic.F

Matthew Mazloff mmazloff at ucsd.edu
Thu Jul 24 14:07:08 EDT 2014


Hello

I am not a fan of line 236 in cost_generic.F

If you give a localobsfile that is
file.bin and has a 86400 day period (e.g. daily SST) it will not be read.

One must put 
file.bin_2010

Can we change this to from:

236	        if ( (.NOT. exst).AND.( localperiod .NE. 86400. ) ) then
237	           write(fname2(1:128),'(a)') localobsfile(1:il)
238	           inquire( file=fname2, exist=exst )
239	#ifndef COST_GENERIC_ASSUME_CYCLIC
240	c assume we have one big file, one year after the other
241	           localrec = obsrec
242	c otherwise assume climatology, used for each year
243	#endif
244	        endif

 to

236	        if  (.NOT. exst)  then

If so, what else has to be put in to make 
#define COST_GENERIC_ASSUME_CYCLIC
safe?

Thanks
Matt







More information about the MITgcm-devel mailing list