| 1 |
heimbach |
1.1 |
|
| 2 |
|
|
c ================================================================== |
| 3 |
|
|
c HEADER AVERAGES |
| 4 |
|
|
c ================================================================== |
| 5 |
|
|
c |
| 6 |
|
|
c o Header for averaged temperature, salinity, and surface pressure |
| 7 |
|
|
c fields and counters associated with the averaging. |
| 8 |
|
|
c |
| 9 |
|
|
c started: Christian Eckert eckert@mit.edu 30-Jun-1999 |
| 10 |
heimbach |
1.2 |
c |
| 11 |
heimbach |
1.1 |
c added sea-ice term: menemenlis@jpl.nasa.gov 26-Feb-2003 |
| 12 |
|
|
c |
| 13 |
|
|
c ================================================================== |
| 14 |
|
|
c HEADER AVERAGES |
| 15 |
|
|
c ================================================================== |
| 16 |
|
|
|
| 17 |
|
|
c Averaging counters: |
| 18 |
|
|
c =================== |
| 19 |
|
|
c |
| 20 |
|
|
c sum1day - counter for the daily averaging |
| 21 |
|
|
c sum1mon - counter for the monthly averaging |
| 22 |
|
|
c dayrec - number of averaged surface pressure records. |
| 23 |
|
|
c monrec - number of averaged theta and salinity records. |
| 24 |
|
|
|
| 25 |
|
|
common /average_i/ |
| 26 |
|
|
& sum1day,sum1mon, |
| 27 |
|
|
& dayrec,monrec |
| 28 |
|
|
integer sum1day |
| 29 |
|
|
integer sum1mon |
| 30 |
|
|
integer dayrec |
| 31 |
|
|
integer monrec |
| 32 |
|
|
|
| 33 |
|
|
|
| 34 |
|
|
c Averaged Fields: |
| 35 |
|
|
c ================ |
| 36 |
|
|
c |
| 37 |
|
|
c tbar - contains the averaged temperature field after the call |
| 38 |
|
|
c to subroutine POST_MONTHLY. Before, it accumulates the |
| 39 |
|
|
c intantaneous temperatures. |
| 40 |
|
|
c sbar - contains the averaged salinity field after the call |
| 41 |
|
|
c to subroutine POST_MONTHLY. Before, it accumulates the |
| 42 |
|
|
c intantaneous salinities. |
| 43 |
|
|
c psbar - contains the averaged surface pressure field after the call |
| 44 |
|
|
c to subroutine POST_DAILY. Before, it accumulates the |
| 45 |
|
|
c intantaneous surface pressure field. |
| 46 |
|
|
c ubar - contains the averaged zonal velocity component for the |
| 47 |
|
|
c whole integration period. Before, it accumulates the |
| 48 |
|
|
c intantaneous field. |
| 49 |
|
|
c vbar - contains the averaged zonal velocity component for the |
| 50 |
|
|
c whole integration period. Before, it accumulates the |
| 51 |
|
|
c intantaneous field. |
| 52 |
|
|
c tauxbar - contains the averaged zonal velocity component for the |
| 53 |
|
|
c whole integration period. Before, it accumulates the |
| 54 |
|
|
c intantaneous field. |
| 55 |
|
|
c tauybar - contains the averaged zonal velocity component for the |
| 56 |
|
|
c whole integration period. Before, it accumulates the |
| 57 |
|
|
c intantaneous field. |
| 58 |
|
|
c hfluxbar - contains the averaged zonal velocity component for the |
| 59 |
|
|
c whole integration period. Before, it accumulates the |
| 60 |
|
|
c intantaneous field. |
| 61 |
|
|
c sfluxbar - contains the averaged zonal velocity component for the |
| 62 |
|
|
c whole integration period. Before, it accumulates the |
| 63 |
|
|
c intantaneous field. |
| 64 |
|
|
|
| 65 |
|
|
common /averages_r/ |
| 66 |
|
|
& tbar, |
| 67 |
|
|
& sbar, |
| 68 |
|
|
& psbar, |
| 69 |
|
|
& ubar, |
| 70 |
|
|
& vbar, |
| 71 |
|
|
& wbar, |
| 72 |
|
|
& tauxbar, |
| 73 |
|
|
& tauybar, |
| 74 |
|
|
& hfluxbar, |
| 75 |
|
|
& sfluxbar, |
| 76 |
|
|
& Slmean, |
| 77 |
|
|
& Tlmean, |
| 78 |
|
|
& wlmean, |
| 79 |
|
|
& Sfmean, |
| 80 |
|
|
& Tfmean, |
| 81 |
heimbach |
1.2 |
& sbar_gen, |
| 82 |
|
|
& tbar_gen, |
| 83 |
|
|
& wfmean |
| 84 |
heimbach |
1.1 |
|
| 85 |
|
|
#if (defined (ALLOW_THETA_COST_CONTRIBUTION) || \ |
| 86 |
|
|
defined (ALLOW_CTDT_COST_CONTRIBUTION) || \ |
| 87 |
|
|
defined (ALLOW_XBT_COST_CONTRIBUTION) || \ |
| 88 |
|
|
defined (ALLOW_DRIFT_COST_CONTRIBUTION) || \ |
| 89 |
|
|
defined (ALLOW_OBCS_COST_CONTRIBUTION)) |
| 90 |
|
|
_RL tbar (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 91 |
|
|
#else |
| 92 |
heimbach |
1.2 |
#ifdef ALLOW_SST_COST_CONTRIBUTION |
| 93 |
|
|
_RL tbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 94 |
|
|
#else |
| 95 |
heimbach |
1.1 |
_RL tbar |
| 96 |
|
|
#endif |
| 97 |
heimbach |
1.2 |
#endif |
| 98 |
|
|
#ifdef GENERIC_BAR_MONTH |
| 99 |
|
|
_RL tbar_gen (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 100 |
|
|
_RL sbar_gen (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 101 |
|
|
#else |
| 102 |
|
|
_RL tbar_gen |
| 103 |
|
|
_RL sbar_gen |
| 104 |
|
|
#endif |
| 105 |
heimbach |
1.1 |
|
| 106 |
|
|
#if (defined (ALLOW_SALT_COST_CONTRIBUTION) || \ |
| 107 |
|
|
defined (ALLOW_CTDS_COST_CONTRIBUTION) || \ |
| 108 |
|
|
defined (ALLOW_DRIFT_COST_CONTRIBUTION) || \ |
| 109 |
|
|
defined (ALLOW_OBCS_COST_CONTRIBUTION)) |
| 110 |
|
|
_RL sbar (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 111 |
|
|
#else |
| 112 |
heimbach |
1.2 |
#ifdef ALLOW_SSS_COST_CONTRIBUTION |
| 113 |
|
|
_RL sbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 114 |
|
|
#else |
| 115 |
heimbach |
1.1 |
_RL sbar |
| 116 |
|
|
#endif |
| 117 |
|
|
#endif |
| 118 |
|
|
|
| 119 |
|
|
#ifdef ALLOW_SSH_COST_CONTRIBUTION |
| 120 |
|
|
_RL psbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 121 |
|
|
#else |
| 122 |
|
|
_RL psbar |
| 123 |
|
|
#endif |
| 124 |
|
|
|
| 125 |
|
|
#if (defined (ALLOW_DRIFTER_COST_CONTRIBUTION) || \ |
| 126 |
heimbach |
1.2 |
defined (ALLOW_OBCS_COST_CONTRIBUTION)) |
| 127 |
heimbach |
1.1 |
_RL ubar (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 128 |
|
|
_RL vbar (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 129 |
|
|
#else |
| 130 |
|
|
_RL ubar |
| 131 |
|
|
_RL vbar |
| 132 |
|
|
#endif |
| 133 |
|
|
|
| 134 |
|
|
#ifdef ALLOW_DRIFTW_COST_CONTRIBUTION |
| 135 |
|
|
_RL wbar (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 136 |
|
|
#else |
| 137 |
|
|
_RL wbar |
| 138 |
|
|
#endif |
| 139 |
|
|
|
| 140 |
|
|
#ifdef ALLOW_DRIFT_COST_CONTRIBUTION |
| 141 |
|
|
_RL Tlmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 142 |
|
|
_RL Slmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 143 |
|
|
_RL Tfmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 144 |
|
|
_RL Sfmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 145 |
|
|
#else |
| 146 |
|
|
_RL Tlmean |
| 147 |
|
|
_RL Slmean |
| 148 |
|
|
_RL Tfmean |
| 149 |
|
|
_RL Sfmean |
| 150 |
|
|
#endif |
| 151 |
|
|
|
| 152 |
|
|
#ifdef ALLOW_DRIFTW_COST_CONTRIBUTION |
| 153 |
|
|
_RL wlmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 154 |
|
|
_RL wfmean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 155 |
|
|
#else |
| 156 |
|
|
_RL wlmean |
| 157 |
|
|
_RL wfmean |
| 158 |
|
|
#endif |
| 159 |
|
|
|
| 160 |
|
|
#ifdef ALLOW_SCAT_COST_CONTRIBUTION |
| 161 |
|
|
_RL tauxbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 162 |
|
|
_RL tauybar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 163 |
|
|
#else |
| 164 |
|
|
_RL tauxbar |
| 165 |
|
|
_RL tauybar |
| 166 |
|
|
#endif |
| 167 |
|
|
|
| 168 |
|
|
#ifdef ALLOW_MEAN_HFLUX_COST_CONTRIBUTION |
| 169 |
|
|
_RL hfluxbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 170 |
|
|
#else |
| 171 |
|
|
_RL hfluxbar |
| 172 |
|
|
#endif |
| 173 |
|
|
|
| 174 |
|
|
#ifdef ALLOW_MEAN_SFLUX_COST_CONTRIBUTION |
| 175 |
|
|
_RL sfluxbar (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 176 |
|
|
#else |
| 177 |
|
|
_RL sfluxbar |
| 178 |
|
|
#endif |
| 179 |
|
|
|
| 180 |
|
|
|
| 181 |
|
|
common /averages_c/ |
| 182 |
|
|
& tbarfile, |
| 183 |
|
|
& sbarfile, |
| 184 |
|
|
& psbarfile, |
| 185 |
|
|
& ubarfile, |
| 186 |
|
|
& vbarfile, |
| 187 |
|
|
& wbarfile, |
| 188 |
|
|
& tauxbarfile, |
| 189 |
|
|
& tauybarfile, |
| 190 |
|
|
& hfluxbarfile, |
| 191 |
|
|
& sfluxbarfile |
| 192 |
|
|
character*(MAX_LEN_FNAM) tbarfile |
| 193 |
|
|
character*(MAX_LEN_FNAM) sbarfile |
| 194 |
|
|
character*(MAX_LEN_FNAM) psbarfile |
| 195 |
|
|
character*(MAX_LEN_FNAM) ubarfile |
| 196 |
|
|
character*(MAX_LEN_FNAM) vbarfile |
| 197 |
|
|
character*(MAX_LEN_FNAM) wbarfile |
| 198 |
|
|
character*(MAX_LEN_FNAM) tauxbarfile |
| 199 |
|
|
character*(MAX_LEN_FNAM) tauybarfile |
| 200 |
|
|
character*(MAX_LEN_FNAM) hfluxbarfile |
| 201 |
|
|
character*(MAX_LEN_FNAM) sfluxbarfile |
| 202 |
|
|
|
| 203 |
|
|
c file precision and field type |
| 204 |
|
|
|
| 205 |
|
|
common /prec_type_cost/ |
| 206 |
|
|
& cost_iprec, |
| 207 |
|
|
& cost_yftype |
| 208 |
|
|
|
| 209 |
|
|
integer cost_iprec |
| 210 |
|
|
character*(2) cost_yftype |
| 211 |
|
|
|
| 212 |
|
|
c ================================================================== |
| 213 |
|
|
c END OF HEADER AVERAGES |
| 214 |
|
|
c ================================================================== |
| 215 |
|
|
|
| 216 |
|
|
|
| 217 |
|
|
|
| 218 |
|
|
c ================================================================== |
| 219 |
|
|
c HEADER COST |
| 220 |
|
|
c ================================================================== |
| 221 |
|
|
c |
| 222 |
|
|
c o Header for model-data comparison. |
| 223 |
|
|
c |
| 224 |
|
|
c The individual cost function contributions are multiplied by |
| 225 |
|
|
c factors mult_"var" which allow to switch off these contributions |
| 226 |
|
|
c without removing them in the adjoint code. This is useful for |
| 227 |
|
|
c doing tests with the adjoint and perhaps useful in assimilation |
| 228 |
|
|
c experiments where individual contributions are successively |
| 229 |
|
|
c switched on. For future applications it would be better to place |
| 230 |
|
|
c the initialisation of the multipliers somewhere else, for example |
| 231 |
|
|
c in a namelist, which is read in at the start of the model. |
| 232 |
|
|
c |
| 233 |
|
|
c started: Christian Eckert eckert@mit.edu 24-Feb-1999 |
| 234 |
|
|
c |
| 235 |
|
|
c changed: Christian Eckert eckert@mit.edu |
| 236 |
|
|
c |
| 237 |
|
|
c |
| 238 |
|
|
c ================================================================== |
| 239 |
|
|
c HEADER COST |
| 240 |
|
|
c ================================================================== |
| 241 |
|
|
|
| 242 |
|
|
|
| 243 |
|
|
c The cost function, its contributions, and multipliers: |
| 244 |
|
|
c ====================================================== |
| 245 |
|
|
c |
| 246 |
|
|
c fc - Final cost function. |
| 247 |
|
|
c objf_hflux - Heat flux contribution. |
| 248 |
|
|
c objf_sflux - Salt flux contribution. |
| 249 |
|
|
c objf_tauu - Zonal wind stress contribution. |
| 250 |
|
|
c objf_tauv - Meridional wind stress contribution. |
| 251 |
|
|
c objf_hfluxm - time-mean Heat flux contribution. |
| 252 |
|
|
c objf_sfluxm - time-mean Salt flux contribution. |
| 253 |
|
|
c objf_tauum - time-mean Zonal wind stress contribution. |
| 254 |
|
|
c objf_tauvm - time-mean Meridional wind stress contribution. |
| 255 |
|
|
c objf_hfluxmm - Global time-mean Heat flux contribution. |
| 256 |
|
|
c objf_sfluxmm - Global time-mean Salt flux contribution. |
| 257 |
|
|
c objf_hmean - Mean sea surface height contribution. |
| 258 |
|
|
c objf_h - Residual sea surface height contribution. |
| 259 |
|
|
c objf_temp - Temperature contribution. |
| 260 |
|
|
c objf_salt - Salinity contribution. |
| 261 |
|
|
c objf_temp0 - Initial conditions Temperature contribution. |
| 262 |
|
|
c objf_salt0 - Initial conditions Salinity contribution. |
| 263 |
heimbach |
1.2 |
c objf_sst - Sea surface temperature contribution. |
| 264 |
heimbach |
1.1 |
c objf_tmi - Sea surface temperature contribution. |
| 265 |
|
|
c objf_sss - Sea surface salinity contribution. |
| 266 |
|
|
c objf_ctdt - Temperature measurements from Woce CTD |
| 267 |
|
|
c objf_ctds - Salinity measurements from Woce CTD |
| 268 |
heimbach |
1.2 |
c objf_ctdtclim - Temperature measurements from Woce CTD without timetag |
| 269 |
|
|
c objf_ctdsclim - Salinity measurements from Woce CTD without timetag |
| 270 |
heimbach |
1.1 |
c objf_xbt - XBT temperature data |
| 271 |
|
|
c objf_argot - ARGO temperature profiles |
| 272 |
|
|
c objf_argos - ARGO salt profiles |
| 273 |
|
|
c objf_scatxm - time-mean zonal SCAT contribution |
| 274 |
|
|
c objf_scatym - time-mean meridional SCAT contribution |
| 275 |
|
|
c objf_scatx - zonal SCAT contribution |
| 276 |
|
|
c objf_scaty - meridional SCAT contribution |
| 277 |
|
|
c objf_ice - sea-ice volume |
| 278 |
|
|
c objf_kapgm - kappa GM contribution |
| 279 |
|
|
c objf_diffkr - diffusion contribution |
| 280 |
|
|
c objf_theta_ini_fin - final vs. initial theta misfit |
| 281 |
|
|
c objf_salt_ini_fin - final vs. initial salt misfit |
| 282 |
|
|
c |
| 283 |
|
|
c mult_"var" - multipliers for the individual cost |
| 284 |
|
|
c function contributions. |
| 285 |
|
|
|
| 286 |
|
|
common /ecco_cost_objf/ |
| 287 |
|
|
& objf_hflux, |
| 288 |
|
|
& objf_hfluxm, |
| 289 |
|
|
& objf_hfluxmm, |
| 290 |
|
|
& objf_sflux, |
| 291 |
|
|
& objf_sfluxm, |
| 292 |
|
|
& objf_sfluxmm, |
| 293 |
|
|
& objf_tauu, |
| 294 |
|
|
& objf_tauum, |
| 295 |
|
|
& objf_tauv, |
| 296 |
|
|
& objf_tauvm, |
| 297 |
|
|
& objf_hmean, |
| 298 |
|
|
& objf_h, |
| 299 |
|
|
& objf_temp, |
| 300 |
|
|
& objf_salt, |
| 301 |
|
|
& objf_temp0, |
| 302 |
|
|
& objf_salt0, |
| 303 |
heimbach |
1.2 |
& objf_sst, |
| 304 |
heimbach |
1.1 |
& objf_tmi, |
| 305 |
|
|
& objf_sss, |
| 306 |
|
|
& objf_ctdt, |
| 307 |
|
|
& objf_ctds, |
| 308 |
|
|
& objf_ctdtclim, |
| 309 |
|
|
& objf_ctdsclim, |
| 310 |
|
|
& objf_xbt, |
| 311 |
|
|
& objf_argot, |
| 312 |
|
|
& objf_argos, |
| 313 |
|
|
& objf_drift, |
| 314 |
|
|
& objf_tdrift, |
| 315 |
|
|
& objf_sdrift, |
| 316 |
|
|
& objf_wdrift, |
| 317 |
|
|
& objf_scatx, |
| 318 |
|
|
& objf_scaty, |
| 319 |
|
|
& objf_scatxm, |
| 320 |
|
|
& objf_scatym, |
| 321 |
|
|
& objf_atemp, |
| 322 |
|
|
& objf_aqh, |
| 323 |
|
|
& objf_uwind, |
| 324 |
|
|
& objf_vwind, |
| 325 |
|
|
& objf_obcsn, |
| 326 |
|
|
& objf_obcss, |
| 327 |
|
|
& objf_obcsw, |
| 328 |
|
|
& objf_obcse, |
| 329 |
|
|
& objf_obcsvol, |
| 330 |
|
|
& objf_curmtr, |
| 331 |
|
|
& objf_ageos, |
| 332 |
|
|
& objf_ice, |
| 333 |
|
|
& objf_diffkr, |
| 334 |
|
|
& objf_theta_ini_fin, |
| 335 |
heimbach |
1.3 |
& objf_salt_ini_fin, |
| 336 |
|
|
& objf_eddytau |
| 337 |
heimbach |
1.2 |
|
| 338 |
heimbach |
1.1 |
_RL objf_hflux (nsx,nsy) |
| 339 |
|
|
_RL objf_hfluxm (nsx,nsy) |
| 340 |
|
|
_RL objf_hfluxmm(nsx,nsy) |
| 341 |
|
|
_RL objf_sflux (nsx,nsy) |
| 342 |
|
|
_RL objf_sfluxm (nsx,nsy) |
| 343 |
|
|
_RL objf_sfluxmm(nsx,nsy) |
| 344 |
|
|
_RL objf_tauu (nsx,nsy) |
| 345 |
|
|
_RL objf_tauum (nsx,nsy) |
| 346 |
|
|
_RL objf_tauv (nsx,nsy) |
| 347 |
|
|
_RL objf_tauvm (nsx,nsy) |
| 348 |
heimbach |
1.2 |
_RL objf_hmean |
| 349 |
heimbach |
1.1 |
_RL objf_h (nsx,nsy) |
| 350 |
|
|
_RL objf_temp (nsx,nsy) |
| 351 |
|
|
_RL objf_salt (nsx,nsy) |
| 352 |
|
|
_RL objf_temp0(nsx,nsy) |
| 353 |
|
|
_RL objf_salt0(nsx,nsy) |
| 354 |
heimbach |
1.2 |
_RL objf_sst (nsx,nsy) |
| 355 |
heimbach |
1.1 |
_RL objf_tmi (nsx,nsy) |
| 356 |
|
|
_RL objf_sss (nsx,nsy) |
| 357 |
|
|
_RL objf_ctdt (nsx,nsy) |
| 358 |
|
|
_RL objf_ctds (nsx,nsy) |
| 359 |
|
|
_RL objf_ctdtclim (nsx,nsy) |
| 360 |
|
|
_RL objf_ctdsclim (nsx,nsy) |
| 361 |
|
|
_RL objf_xbt (nsx,nsy) |
| 362 |
|
|
_RL objf_argot(nsx,nsy) |
| 363 |
|
|
_RL objf_argos(nsx,nsy) |
| 364 |
|
|
_RL objf_drift(nsx,nsy) |
| 365 |
|
|
_RL objf_tdrift(nsx,nsy) |
| 366 |
|
|
_RL objf_sdrift(nsx,nsy) |
| 367 |
|
|
_RL objf_wdrift(nsx,nsy) |
| 368 |
|
|
_RL objf_scatx(nsx,nsy) |
| 369 |
|
|
_RL objf_scaty(nsx,nsy) |
| 370 |
|
|
_RL objf_scatxm(nsx,nsy) |
| 371 |
|
|
_RL objf_scatym(nsx,nsy) |
| 372 |
|
|
_RL objf_atemp(nsx,nsy) |
| 373 |
|
|
_RL objf_aqh (nsx,nsy) |
| 374 |
|
|
_RL objf_uwind(nsx,nsy) |
| 375 |
|
|
_RL objf_vwind(nsx,nsy) |
| 376 |
|
|
_RL objf_obcsn(nsx,nsy) |
| 377 |
|
|
_RL objf_obcss(nsx,nsy) |
| 378 |
|
|
_RL objf_obcsw(nsx,nsy) |
| 379 |
|
|
_RL objf_obcse(nsx,nsy) |
| 380 |
heimbach |
1.2 |
_RL objf_obcsvol |
| 381 |
heimbach |
1.1 |
_RL objf_curmtr(nsx,nsy) |
| 382 |
|
|
_RL objf_ageos(nsx,nsy) |
| 383 |
|
|
_RL objf_ice (nsx,nsy) |
| 384 |
|
|
_RL objf_kapgm(nsx,nsy) |
| 385 |
|
|
_RL objf_diffkr(nsx,nsy) |
| 386 |
|
|
_RL objf_theta_ini_fin(nsx,nsy) |
| 387 |
|
|
_RL objf_salt_ini_fin(nsx,nsy) |
| 388 |
heimbach |
1.3 |
_RL objf_eddytau(nsx,nsy) |
| 389 |
heimbach |
1.1 |
|
| 390 |
|
|
common /ecco_cost_aux_r/ |
| 391 |
|
|
& mult_hflux, |
| 392 |
|
|
& mult_sflux, |
| 393 |
|
|
& mult_tauu, |
| 394 |
|
|
& mult_tauv, |
| 395 |
|
|
& mult_hmean, |
| 396 |
|
|
& mult_h, |
| 397 |
|
|
& mult_temp, |
| 398 |
|
|
& mult_salt, |
| 399 |
|
|
& mult_temp0, |
| 400 |
|
|
& mult_salt0, |
| 401 |
heimbach |
1.2 |
& mult_sst, |
| 402 |
heimbach |
1.1 |
& mult_tmi, |
| 403 |
|
|
& mult_sss, |
| 404 |
|
|
& mult_ctdt, |
| 405 |
|
|
& mult_ctds, |
| 406 |
|
|
& mult_ctdtclim, |
| 407 |
|
|
& mult_ctdsclim, |
| 408 |
|
|
& mult_xbt, |
| 409 |
|
|
& mult_argot, |
| 410 |
|
|
& mult_argos, |
| 411 |
|
|
& mult_drift, |
| 412 |
|
|
& mult_tdrift, |
| 413 |
|
|
& mult_sdrift, |
| 414 |
|
|
& mult_wdrift, |
| 415 |
|
|
& mult_scatx, |
| 416 |
|
|
& mult_scaty, |
| 417 |
|
|
& mult_atemp, |
| 418 |
|
|
& mult_aqh, |
| 419 |
|
|
& mult_uwind, |
| 420 |
|
|
& mult_vwind, |
| 421 |
|
|
& mult_obcsn, |
| 422 |
|
|
& mult_obcss, |
| 423 |
|
|
& mult_obcsw, |
| 424 |
|
|
& mult_obcse, |
| 425 |
|
|
& mult_obcsvol, |
| 426 |
|
|
& mult_curmtr, |
| 427 |
|
|
& mult_ageos, |
| 428 |
|
|
& mult_ice, |
| 429 |
|
|
& mult_kapgm, |
| 430 |
|
|
& mult_diffkr, |
| 431 |
heimbach |
1.3 |
& mult_ini_fin, |
| 432 |
|
|
& mult_eddytau |
| 433 |
heimbach |
1.2 |
|
| 434 |
heimbach |
1.1 |
_RL mult_hflux |
| 435 |
|
|
_RL mult_sflux |
| 436 |
|
|
_RL mult_tauu |
| 437 |
|
|
_RL mult_tauv |
| 438 |
|
|
_RL mult_hmean |
| 439 |
|
|
_RL mult_h |
| 440 |
|
|
_RL mult_temp |
| 441 |
|
|
_RL mult_salt |
| 442 |
|
|
_RL mult_temp0 |
| 443 |
|
|
_RL mult_salt0 |
| 444 |
heimbach |
1.2 |
_RL mult_sst |
| 445 |
heimbach |
1.1 |
_RL mult_tmi |
| 446 |
|
|
_RL mult_sss |
| 447 |
|
|
_RL mult_ctdt |
| 448 |
|
|
_RL mult_ctds |
| 449 |
|
|
_RL mult_ctdtclim |
| 450 |
|
|
_RL mult_ctdsclim |
| 451 |
|
|
_RL mult_xbt |
| 452 |
|
|
_RL mult_argot |
| 453 |
|
|
_RL mult_argos |
| 454 |
|
|
_RL mult_drift |
| 455 |
|
|
_RL mult_tdrift |
| 456 |
|
|
_RL mult_sdrift |
| 457 |
|
|
_RL mult_wdrift |
| 458 |
|
|
_RL mult_scatx |
| 459 |
|
|
_RL mult_scaty |
| 460 |
|
|
_RL mult_atemp |
| 461 |
|
|
_RL mult_aqh |
| 462 |
|
|
_RL mult_uwind |
| 463 |
|
|
_RL mult_vwind |
| 464 |
|
|
_RL mult_obcsn |
| 465 |
|
|
_RL mult_obcss |
| 466 |
|
|
_RL mult_obcsw |
| 467 |
|
|
_RL mult_obcse |
| 468 |
|
|
_RL mult_obcsvol |
| 469 |
|
|
_RL mult_curmtr |
| 470 |
|
|
_RL mult_ageos |
| 471 |
|
|
_RL mult_ice |
| 472 |
|
|
_RL mult_kapgm |
| 473 |
|
|
_RL mult_diffkr |
| 474 |
|
|
_RL mult_ini_fin |
| 475 |
heimbach |
1.3 |
_RL mult_eddytau |
| 476 |
heimbach |
1.1 |
|
| 477 |
|
|
c Record counters relevant for the cost function evaluation. |
| 478 |
|
|
c ========================================================== |
| 479 |
|
|
c |
| 480 |
|
|
c nmonsrec - number of monthly records that will be generated by |
| 481 |
|
|
c the current model integration. |
| 482 |
|
|
c ndaysrec - number of daily records that will be generated by |
| 483 |
|
|
c the current model integration. |
| 484 |
|
|
|
| 485 |
|
|
common /ecco_cost_i/ |
| 486 |
|
|
& nmonsrec, |
| 487 |
|
|
& ndaysrec |
| 488 |
|
|
integer nmonsrec |
| 489 |
|
|
integer ndaysrec |
| 490 |
|
|
|
| 491 |
|
|
|
| 492 |
|
|
c Data files for the weights used in the cost function: |
| 493 |
|
|
c ===================================================== |
| 494 |
|
|
c |
| 495 |
|
|
c hflux_errfile - heat flux error. |
| 496 |
|
|
c sflux_errfile - salt flux error. |
| 497 |
|
|
c tauu_errfile - zonal wind stress error. |
| 498 |
|
|
c tauum_errfile - zonal wind stress error. |
| 499 |
|
|
c tauv_errfile - meridional wind stress error. |
| 500 |
|
|
c tauvm_errfile - meridional wind stress error. |
| 501 |
|
|
c tscatx_errfile - zonal wind stress error. |
| 502 |
|
|
c tscaty_errfile - meridional wind stress error. |
| 503 |
|
|
c data_errfile - weights for theta, salt, and SST |
| 504 |
|
|
c geoid_errfile - geoid error. |
| 505 |
|
|
c geoid_covariancefile - geoid error covariance. |
| 506 |
|
|
c ssh_errfile - sea surface height error. |
| 507 |
|
|
c ctdt_errfile - CTD temperature error. |
| 508 |
|
|
c ctds_errfile - CTD salinity error. |
| 509 |
|
|
c drift_errfile - drifter error. |
| 510 |
|
|
c salterrfile - representation error due unresolved eddies |
| 511 |
|
|
c temperrfile - representation error due unresolved eddies |
| 512 |
|
|
c velerrfile - representation error |
| 513 |
|
|
|
| 514 |
|
|
common /ecco_cost_c/ |
| 515 |
|
|
& hflux_errfile, |
| 516 |
|
|
& hfluxm_errfile, |
| 517 |
|
|
& sflux_errfile, |
| 518 |
|
|
& sfluxm_errfile, |
| 519 |
|
|
& tauu_errfile, |
| 520 |
|
|
& tauum_errfile, |
| 521 |
|
|
& tauv_errfile, |
| 522 |
|
|
& tauvm_errfile, |
| 523 |
|
|
& scatx_errfile, |
| 524 |
|
|
& scaty_errfile, |
| 525 |
|
|
& data_errfile, |
| 526 |
|
|
& geoid_errfile, |
| 527 |
|
|
& geoid_covariancefile, |
| 528 |
|
|
& ssh_errfile, |
| 529 |
|
|
& ctdt_errfile, |
| 530 |
|
|
& ctds_errfile, |
| 531 |
|
|
& drift_errfile, |
| 532 |
|
|
& udrifterrfile, |
| 533 |
|
|
& vdrifterrfile, |
| 534 |
|
|
& salterrfile, |
| 535 |
|
|
& temperrfile, |
| 536 |
|
|
& velerrfile, |
| 537 |
|
|
& atemp_errfile, |
| 538 |
|
|
& aqh_errfile, |
| 539 |
|
|
& uwind_errfile, |
| 540 |
|
|
& vwind_errfile |
| 541 |
|
|
character*(MAX_LEN_FNAM) hflux_errfile |
| 542 |
|
|
character*(MAX_LEN_FNAM) sflux_errfile |
| 543 |
|
|
character*(MAX_LEN_FNAM) tauu_errfile |
| 544 |
|
|
character*(MAX_LEN_FNAM) tauv_errfile |
| 545 |
|
|
character*(MAX_LEN_FNAM) hfluxm_errfile |
| 546 |
|
|
character*(MAX_LEN_FNAM) sfluxm_errfile |
| 547 |
|
|
character*(MAX_LEN_FNAM) tauum_errfile |
| 548 |
|
|
character*(MAX_LEN_FNAM) tauvm_errfile |
| 549 |
|
|
character*(MAX_LEN_FNAM) scatx_errfile |
| 550 |
|
|
character*(MAX_LEN_FNAM) scaty_errfile |
| 551 |
|
|
character*(MAX_LEN_FNAM) data_errfile |
| 552 |
|
|
character*(MAX_LEN_FNAM) geoid_errfile |
| 553 |
|
|
character*(MAX_LEN_FNAM) geoid_covariancefile |
| 554 |
|
|
character*(MAX_LEN_FNAM) ssh_errfile |
| 555 |
|
|
character*(MAX_LEN_FNAM) ctdt_errfile |
| 556 |
|
|
character*(MAX_LEN_FNAM) ctds_errfile |
| 557 |
|
|
character*(MAX_LEN_FNAM) drift_errfile |
| 558 |
|
|
character*(MAX_LEN_FNAM) udrifterrfile |
| 559 |
|
|
character*(MAX_LEN_FNAM) vdrifterrfile |
| 560 |
|
|
character*(MAX_LEN_FNAM) salterrfile |
| 561 |
|
|
character*(MAX_LEN_FNAM) temperrfile |
| 562 |
|
|
character*(MAX_LEN_FNAM) velerrfile |
| 563 |
|
|
character*(MAX_LEN_FNAM) atemp_errfile |
| 564 |
|
|
character*(MAX_LEN_FNAM) aqh_errfile |
| 565 |
|
|
character*(MAX_LEN_FNAM) uwind_errfile |
| 566 |
|
|
character*(MAX_LEN_FNAM) vwind_errfile |
| 567 |
|
|
|
| 568 |
|
|
|
| 569 |
|
|
c Arrays where the weights are stored: |
| 570 |
|
|
c ==================================== |
| 571 |
|
|
c |
| 572 |
|
|
c cosphi - cosine of latitude. |
| 573 |
|
|
c whflux - weight for heat flux. |
| 574 |
|
|
c wsflux - weight for salt flux. |
| 575 |
|
|
c wtauu - weight for zonal wind stress. |
| 576 |
|
|
c wtauu - weight for meridional wind stress. |
| 577 |
|
|
c wscatx - weight for zonal scat stress. |
| 578 |
|
|
c wscaty - weight for meridional scat stress. |
| 579 |
|
|
c wtheta - weight for temperature. |
| 580 |
|
|
c wtheta2 - representation error due to unresolved eddies |
| 581 |
|
|
c wsst - weight for sea surface temperature. |
| 582 |
|
|
c wsss - weight for sea surface salinity. |
| 583 |
|
|
c wsalt - weight for salinity. |
| 584 |
|
|
c wsalt2 - representation error due to unresolved eddies |
| 585 |
|
|
c wtp - weight for TOPEX/POSEIDON data. |
| 586 |
|
|
c wers - weight for ERS data. |
| 587 |
|
|
c wp - weight for geoid. |
| 588 |
|
|
c wctdt - weight for CTD temperature. |
| 589 |
|
|
c wctds - weight for CTD salinity. |
| 590 |
|
|
c wudrift - weight for mean zonal velocity from drifters. |
| 591 |
|
|
c wvdrift - weight for mean meridional velocity from drifters. |
| 592 |
|
|
|
| 593 |
|
|
common /ecco_cost_weights_r/ |
| 594 |
|
|
& frame, |
| 595 |
|
|
& cosphi, |
| 596 |
|
|
& whflux,wsflux,wtauu,wtauv, |
| 597 |
|
|
& watemp,waqh,wuwind,wvwind, |
| 598 |
|
|
& wscatx,wscaty, |
| 599 |
|
|
& wtheta,wtheta2,wthetaLev, |
| 600 |
|
|
& wsalt,wsalt2,wsaltLev, |
| 601 |
|
|
& wsst,wsss, |
| 602 |
|
|
& wtp,wers, |
| 603 |
|
|
& wp, |
| 604 |
|
|
& wctdt,wctds, |
| 605 |
|
|
& wudrift,wvdrift, |
| 606 |
|
|
& whfluxmm,wsfluxmm, |
| 607 |
|
|
& wcurrent,wcurrent2, |
| 608 |
|
|
& wcurrentLev,wbaro |
| 609 |
|
|
|
| 610 |
|
|
_RL frame (1-olx:snx+olx,1-oly:sny+oly ) |
| 611 |
|
|
_RL cosphi (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 612 |
|
|
_RL whflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 613 |
|
|
_RL whfluxm (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 614 |
|
|
_RL whfluxmm(1-olx:snx+olx,1-oly:sny+oly) |
| 615 |
|
|
_RL wsflux (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 616 |
|
|
_RL wsfluxm (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 617 |
|
|
_RL wsfluxmm(1-olx:snx+olx,1-oly:sny+oly) |
| 618 |
|
|
_RL wtauu (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 619 |
|
|
_RL wtauv (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 620 |
|
|
_RL wtauum (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 621 |
|
|
_RL wtauvm (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 622 |
|
|
_RL wscatx (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 623 |
|
|
_RL wscaty (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 624 |
|
|
_RL watemp (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 625 |
|
|
_RL waqh (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 626 |
|
|
_RL wuwind (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 627 |
|
|
_RL wvwind (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 628 |
|
|
_RL wtheta ( nr,nsx,nsy) |
| 629 |
|
|
_RL wsalt ( nr,nsx,nsy) |
| 630 |
|
|
_RL wtheta2 (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 631 |
|
|
_RL wsalt2 (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 632 |
|
|
_RL wthetaLev (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 633 |
|
|
_RL wsaltLev (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 634 |
|
|
_RL wsst (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 635 |
|
|
_RL wsss (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 636 |
|
|
_RL wtp (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 637 |
|
|
_RL wers (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 638 |
|
|
_RL wp (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 639 |
|
|
_RL wctdt ( nr,nsx,nsy) |
| 640 |
|
|
_RL wctds ( nr,nsx,nsy) |
| 641 |
|
|
_RL wudrift (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 642 |
|
|
_RL wvdrift (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 643 |
|
|
_RL wcurrent( nr,nsx,nsy) |
| 644 |
|
|
_RL wcurrent2 (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 645 |
|
|
_RL wcurrentLev (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 646 |
|
|
_RL wbaro |
| 647 |
|
|
|
| 648 |
|
|
#if (defined (ALLOW_OBCSN_COST_CONTRIBUTION) || \ |
| 649 |
|
|
defined (ALLOW_OBCSN_CONTROL)) |
| 650 |
|
|
common /ecco_cost_weights_obcsn/ |
| 651 |
|
|
& wobcsn, wobcsnLev |
| 652 |
|
|
_RL wobcsn ( nr,nobcs) |
| 653 |
|
|
_RL wobcsnLev (1-olx:snx+olx,nr,nsx,nsy,nobcs) |
| 654 |
|
|
#endif |
| 655 |
|
|
#if (defined (ALLOW_OBCSS_COST_CONTRIBUTION) || \ |
| 656 |
|
|
defined (ALLOW_OBCSS_CONTROL)) |
| 657 |
|
|
common /ecco_cost_weights_obcss/ |
| 658 |
|
|
& wobcss, wobcssLev |
| 659 |
|
|
_RL wobcss ( nr,nobcs) |
| 660 |
|
|
_RL wobcssLev (1-olx:snx+olx,nr,nsx,nsy,nobcs) |
| 661 |
|
|
#endif |
| 662 |
|
|
#if (defined (ALLOW_OBCSW_COST_CONTRIBUTION) || \ |
| 663 |
|
|
defined (ALLOW_OBCSW_CONTROL)) |
| 664 |
|
|
common /ecco_cost_weights_obcsw/ |
| 665 |
|
|
& wobcsw, wobcswLev |
| 666 |
|
|
_RL wobcsw ( nr,nobcs) |
| 667 |
|
|
_RL wobcswLev (1-oly:sny+oly,nr,nsx,nsy,nobcs) |
| 668 |
|
|
#endif |
| 669 |
|
|
#if (defined (ALLOW_OBCSE_COST_CONTRIBUTION) || \ |
| 670 |
|
|
defined (ALLOW_OBCSE_CONTROL)) |
| 671 |
|
|
common /ecco_cost_weights_obcse/ |
| 672 |
|
|
& wobcse, wobcseLev |
| 673 |
|
|
_RL wobcse ( nr,nobcs) |
| 674 |
|
|
_RL wobcseLev (1-oly:sny+oly,nr,nsx,nsy,nobcs) |
| 675 |
|
|
#endif |
| 676 |
|
|
|
| 677 |
heimbach |
1.2 |
|
| 678 |
heimbach |
1.1 |
c Arrays that contain observations for the model-data comparison: |
| 679 |
|
|
c =============================================================== |
| 680 |
|
|
c |
| 681 |
|
|
c tdat - reference temperature data. |
| 682 |
|
|
c scatxdat - reference zonal wind stress. |
| 683 |
|
|
c scatydat - reference meridional wind stress. |
| 684 |
heimbach |
1.2 |
c sstdat - reference sea surface temperature data. |
| 685 |
heimbach |
1.1 |
c tmidat - reference TMI sea surface temperature data. |
| 686 |
|
|
c sssdat - reference sea surface temperature data. |
| 687 |
|
|
c tauxmask - mask for reference wind stress data. |
| 688 |
|
|
c tauymask - mask for reference wind stress data. |
| 689 |
|
|
c scatxmask - mask for scat wind stress data. |
| 690 |
|
|
c scatymask - mask for scat wind stress data. |
| 691 |
heimbach |
1.2 |
c sstmask - mask for reference sea surface temperature data. |
| 692 |
heimbach |
1.1 |
c tmimask - mask for reference sea surface temperature data. |
| 693 |
|
|
c sssmask - mask for reference sea surface temperature data. |
| 694 |
|
|
c sdat - reference salinity data. |
| 695 |
|
|
c tpmean - reference mean sea surface height data. |
| 696 |
|
|
c tpmeanmask - mask for reference mean sea surface height data. |
| 697 |
|
|
c tpobs - TOPEX/POSEIDON data. |
| 698 |
|
|
c tpmask - mask for TOPEX/POSEIDON data. |
| 699 |
|
|
c ersobs - ERS data. |
| 700 |
|
|
c ersmask - mask for ERS data. |
| 701 |
|
|
c ctdtobs - CTD temperature data |
| 702 |
|
|
c ctdsobs - CTD salinity data |
| 703 |
|
|
c xbtobs - XBT data |
| 704 |
|
|
c argot - ARGO temperature data |
| 705 |
|
|
c argos - ARGO salt data |
| 706 |
|
|
c udriftdat - drifters zonal velocities |
| 707 |
|
|
c vdriftdat - drifters meridional velocities |
| 708 |
|
|
|
| 709 |
|
|
common /ecco_cost_data_r/ |
| 710 |
|
|
& tdat, |
| 711 |
|
|
& scatxdat, |
| 712 |
|
|
& scatydat, |
| 713 |
heimbach |
1.2 |
& sstdat, |
| 714 |
heimbach |
1.1 |
& tmidat, |
| 715 |
|
|
& sssdat, |
| 716 |
heimbach |
1.2 |
& sstmask, |
| 717 |
heimbach |
1.1 |
& tmimask, |
| 718 |
|
|
& sssmask, |
| 719 |
|
|
& tauxmask, |
| 720 |
|
|
& tauymask, |
| 721 |
|
|
& scatxmask, |
| 722 |
|
|
& scatymask, |
| 723 |
|
|
& sdat, |
| 724 |
|
|
& tpmean, |
| 725 |
|
|
& tpmeanmask, |
| 726 |
|
|
& tpobs, |
| 727 |
|
|
& tpmask, |
| 728 |
|
|
& ersobs, |
| 729 |
|
|
& ersmask, |
| 730 |
|
|
& ctdtobs, |
| 731 |
|
|
& ctdsobs, |
| 732 |
|
|
& xbtobs, |
| 733 |
|
|
& argotobs, |
| 734 |
|
|
& argosobs, |
| 735 |
|
|
& udriftdat, |
| 736 |
|
|
& vdriftdat, |
| 737 |
|
|
& curmtruobs, |
| 738 |
|
|
& curmtrvobs |
| 739 |
|
|
|
| 740 |
|
|
_RL tdat (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 741 |
|
|
_RL scatxdat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 742 |
|
|
_RL scatydat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 743 |
heimbach |
1.2 |
_RL sstdat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 744 |
heimbach |
1.1 |
_RL tmidat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 745 |
|
|
_RL sssdat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 746 |
|
|
_RL tauxmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 747 |
|
|
_RL tauymask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 748 |
|
|
_RL scatxmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 749 |
|
|
_RL scatymask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 750 |
heimbach |
1.2 |
_RL sstmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 751 |
heimbach |
1.1 |
_RL tmimask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 752 |
|
|
_RL sssmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 753 |
|
|
_RL sdat (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 754 |
|
|
_RL tpmean (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 755 |
|
|
_RL tpmeanmask(1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 756 |
|
|
_RL tpobs (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 757 |
|
|
_RL tpmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 758 |
|
|
_RL ersobs (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 759 |
|
|
_RL ersmask (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 760 |
|
|
_RL ctdtobs (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 761 |
|
|
_RL ctdsobs (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 762 |
|
|
_RL xbtobs (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 763 |
|
|
_RL argotobs (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 764 |
|
|
_RL argosobs (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 765 |
|
|
_RL udriftdat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 766 |
|
|
_RL vdriftdat (1-olx:snx+olx,1-oly:sny+oly, nsx,nsy) |
| 767 |
|
|
_RL curmtruobs(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 768 |
|
|
_RL curmtrvobs(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy) |
| 769 |
|
|
|
| 770 |
heimbach |
1.2 |
|
| 771 |
heimbach |
1.1 |
c Files that contain obervations: |
| 772 |
|
|
c =============================== |
| 773 |
|
|
c |
| 774 |
|
|
c tdatfile - reference data file for temperature. |
| 775 |
|
|
c sdatfile - reference data file for salinity. |
| 776 |
|
|
c scatxdatfile - reference data file for zonal wind stress. |
| 777 |
|
|
c scatydatfile - reference data file for meridional wind stress. |
| 778 |
|
|
c sstdatfile - reference data file for sea surface temperature. |
| 779 |
heimbach |
1.2 |
c tmidatfile - reference data file for TMI sea surface temperature. |
| 780 |
heimbach |
1.1 |
c topexmeanfile - reference data file for mean sea surface height. |
| 781 |
|
|
c topexfile - reference data file for sea surface height data |
| 782 |
|
|
c (TOPEX/POSEIDON). |
| 783 |
|
|
c ersfile - reference data file for sea surface height data |
| 784 |
|
|
c (ERS). |
| 785 |
|
|
c ctdtfile, ctdsfile- reference data file for temperature and salinity |
| 786 |
|
|
c from CTD |
| 787 |
|
|
c ctdtclimfile, ctdsclimfile- reference data file for temperature |
| 788 |
heimbach |
1.2 |
c and salinity from CTD with out timetag |
| 789 |
heimbach |
1.1 |
c xbtfile - reference data file for xbt |
| 790 |
|
|
c ARGOtfile - reference data file for ARGO |
| 791 |
|
|
c ARGOsfile - reference data file for ARGO |
| 792 |
|
|
c driftfile - reference data file for drifter's mean velocities |
| 793 |
|
|
|
| 794 |
|
|
common /ecco_cost_data_c/ |
| 795 |
|
|
& tdatfile, |
| 796 |
|
|
& sdatfile, |
| 797 |
|
|
& scatxdatfile, |
| 798 |
|
|
& scatydatfile, |
| 799 |
heimbach |
1.2 |
& sstdatfile, |
| 800 |
heimbach |
1.1 |
& tmidatfile, |
| 801 |
|
|
& sssdatfile, |
| 802 |
|
|
& topexmeanfile, |
| 803 |
|
|
& topexfile, |
| 804 |
|
|
& ersfile, |
| 805 |
|
|
& ctdtfile, |
| 806 |
|
|
& ctdsfile, |
| 807 |
|
|
& ctdtclimfile, |
| 808 |
|
|
& ctdsclimfile, |
| 809 |
|
|
& xbtfile, |
| 810 |
|
|
& argotfile, |
| 811 |
|
|
& argosfile, |
| 812 |
|
|
& udriftfile, |
| 813 |
|
|
& vdriftfile, |
| 814 |
|
|
& curmtrufile, |
| 815 |
|
|
& curmtrvfile |
| 816 |
|
|
|
| 817 |
|
|
character*(MAX_LEN_FNAM) tdatfile |
| 818 |
|
|
character*(MAX_LEN_FNAM) sdatfile |
| 819 |
|
|
character*(MAX_LEN_FNAM) scatxdatfile |
| 820 |
|
|
character*(MAX_LEN_FNAM) scatydatfile |
| 821 |
heimbach |
1.2 |
character*(MAX_LEN_FNAM) sstdatfile |
| 822 |
heimbach |
1.1 |
character*(MAX_LEN_FNAM) tmidatfile |
| 823 |
|
|
character*(MAX_LEN_FNAM) sssdatfile |
| 824 |
|
|
character*(MAX_LEN_FNAM) topexmeanfile |
| 825 |
|
|
character*(MAX_LEN_FNAM) topexfile |
| 826 |
|
|
character*(MAX_LEN_FNAM) ersfile |
| 827 |
|
|
character*(MAX_LEN_FNAM) ctdtfile |
| 828 |
|
|
character*(MAX_LEN_FNAM) ctdsfile |
| 829 |
|
|
character*(MAX_LEN_FNAM) ctdtclimfile |
| 830 |
|
|
character*(MAX_LEN_FNAM) ctdsclimfile |
| 831 |
|
|
character*(MAX_LEN_FNAM) xbtfile |
| 832 |
|
|
character*(MAX_LEN_FNAM) argotfile |
| 833 |
|
|
character*(MAX_LEN_FNAM) argosfile |
| 834 |
|
|
character*(MAX_LEN_FNAM) argofile |
| 835 |
|
|
character*(MAX_LEN_FNAM) udriftfile |
| 836 |
|
|
character*(MAX_LEN_FNAM) vdriftfile |
| 837 |
|
|
character*(MAX_LEN_FNAM) curmtrufile |
| 838 |
|
|
character*(MAX_LEN_FNAM) curmtrvfile |
| 839 |
|
|
|
| 840 |
heimbach |
1.2 |
|
| 841 |
heimbach |
1.1 |
c Flags used in the model-data comparison: |
| 842 |
|
|
c ======================================== |
| 843 |
|
|
c |
| 844 |
|
|
c using_ers - flag that indicates the use of ERS data |
| 845 |
|
|
|
| 846 |
|
|
common /ecco_cost_data_flags/ |
| 847 |
|
|
& using_topex, |
| 848 |
|
|
& using_ers |
| 849 |
|
|
logical using_topex |
| 850 |
|
|
logical using_ers |
| 851 |
|
|
|
| 852 |
|
|
c Calendar information for the observations: |
| 853 |
|
|
c ========================================== |
| 854 |
|
|
c |
| 855 |
heimbach |
1.2 |
c sststartdate - start date of the sea surface temperature data. |
| 856 |
heimbach |
1.1 |
c tmistartdate - start date of the sea surface temperature data. |
| 857 |
|
|
c topexstartdate - start date of the sea surface height data. |
| 858 |
|
|
c ersstartdate - start date of the sea surface height data. |
| 859 |
heimbach |
1.2 |
c sshperiod - sampling interval for the sea surface height data. |
| 860 |
heimbach |
1.1 |
|
| 861 |
|
|
common /ecco_cost_data_times_i/ |
| 862 |
|
|
& scatxstartdate, |
| 863 |
|
|
& scatystartdate, |
| 864 |
|
|
& sststartdate, |
| 865 |
|
|
& argotstartdate, |
| 866 |
|
|
& argosstartdate, |
| 867 |
heimbach |
1.2 |
& tmistartdate, |
| 868 |
|
|
& sssstartdate, |
| 869 |
heimbach |
1.1 |
& topexstartdate, |
| 870 |
|
|
& ersstartdate |
| 871 |
|
|
integer scatxstartdate(4) |
| 872 |
|
|
integer scatystartdate(4) |
| 873 |
|
|
integer sststartdate(4) |
| 874 |
|
|
integer argotstartdate(4) |
| 875 |
|
|
integer argosstartdate(4) |
| 876 |
heimbach |
1.2 |
integer tmistartdate(4) |
| 877 |
|
|
integer sssstartdate(4) |
| 878 |
heimbach |
1.1 |
integer topexstartdate(4) |
| 879 |
|
|
integer ersstartdate(4) |
| 880 |
|
|
|
| 881 |
|
|
common /ecco_cost_data_aux_i/ |
| 882 |
|
|
& tmistartdate1, |
| 883 |
|
|
& tmistartdate2, |
| 884 |
|
|
& sststartdate1, |
| 885 |
|
|
& sststartdate2, |
| 886 |
|
|
& sssstartdate1, |
| 887 |
|
|
& sssstartdate2, |
| 888 |
|
|
& argotstartdate1, |
| 889 |
|
|
& argotstartdate2, |
| 890 |
|
|
& argosstartdate1, |
| 891 |
|
|
& argosstartdate2, |
| 892 |
|
|
& topexstartdate1, |
| 893 |
|
|
& topexstartdate2, |
| 894 |
|
|
& ersstartdate1, |
| 895 |
|
|
& ersstartdate2, |
| 896 |
|
|
& scatstartdate1, |
| 897 |
|
|
& scatstartdate2, |
| 898 |
|
|
& costIceStart1, |
| 899 |
|
|
& costIceStart2, |
| 900 |
|
|
& costIceEnd1, |
| 901 |
|
|
& costIceEnd2 |
| 902 |
|
|
|
| 903 |
|
|
integer tmistartdate1 |
| 904 |
|
|
integer tmistartdate2 |
| 905 |
|
|
integer sststartdate1 |
| 906 |
|
|
integer sststartdate2 |
| 907 |
|
|
integer sssstartdate1 |
| 908 |
|
|
integer sssstartdate2 |
| 909 |
|
|
integer argotstartdate1 |
| 910 |
|
|
integer argotstartdate2 |
| 911 |
|
|
integer argosstartdate1 |
| 912 |
|
|
integer argosstartdate2 |
| 913 |
|
|
integer topexstartdate1 |
| 914 |
|
|
integer topexstartdate2 |
| 915 |
|
|
integer ersstartdate1 |
| 916 |
|
|
integer ersstartdate2 |
| 917 |
|
|
integer scatstartdate1 |
| 918 |
|
|
integer scatstartdate2 |
| 919 |
|
|
integer costIceStart1 |
| 920 |
|
|
integer costIceStart2 |
| 921 |
|
|
integer costIceEnd1 |
| 922 |
|
|
integer costIceEnd2 |
| 923 |
|
|
|
| 924 |
|
|
common /ecco_cost_data_times_r/ |
| 925 |
|
|
& topexperiod, |
| 926 |
|
|
& ersperiod, |
| 927 |
|
|
& scatperiod, |
| 928 |
|
|
& costIceStart, |
| 929 |
|
|
& costIceEnd |
| 930 |
|
|
_RL topexperiod |
| 931 |
|
|
_RL ersperiod |
| 932 |
|
|
_RL scatperiod |
| 933 |
|
|
_RL costIceStart |
| 934 |
|
|
_RL costIceEnd |
| 935 |
|
|
|
| 936 |
|
|
c cost_ice_flag - cost_ice flag (see cost_ice.F) |
| 937 |
|
|
|
| 938 |
|
|
common /ecco_cost_ice_i/ cost_ice_flag |
| 939 |
|
|
integer cost_ice_flag |
| 940 |
|
|
|
| 941 |
|
|
c ================================================================== |
| 942 |
|
|
c END OF HEADER COST |
| 943 |
|
|
c ================================================================== |
| 944 |
heimbach |
1.2 |
|
| 945 |
|
|
|