CORRELATION

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
mathieu

CORRELATION

#1 Unread post by mathieu »

I tried to compute the covariance normalization factor file for the DOUBLE_GYRE application using the CORRELATION option as explained in s4dvar.in

During the compilation, one gets

Code: Select all

fortcom: Error: mod_fourdvar.f90, line 335: This name does not have a type, and must have
an explicit type.   [INIVAL]
      DTsizeH = IniVal
This is because in mod_fourdvar.F the IniVal variable depends upon the OBSERVATIONS switch, which is not activated for the correlation option.

Proposed solution is at line 491 of mod_fourdvar.F to replace

Code: Select all

# ifdef OBSERVATIONS
by

Code: Select all

# if defined OBSERVATIONS || defined CONVOLVE

Post Reply