forked from ECCO-GROUP/ECCO-v4-Configurations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration for V4r5 extension
- Loading branch information
Showing
32 changed files
with
6,891 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
C------------------------------------------------------------------------------| | ||
C SLR_CORR_FIELDS.h | ||
C------------------------------------------------------------------------------| | ||
|
||
#ifdef ALLOW_SLR_CORR | ||
|
||
#include "SLR_CORR_SIZE.h" | ||
|
||
CBOP | ||
C !ROUTINE: SLRC_CORR.h | ||
C !INTERFACE: | ||
C #include "SLR_CORR.h" | ||
|
||
C !DESCRIPTION: | ||
C *==========================================================* | ||
C | SLR_CORR_FIELDS.h | ||
C | o Header file containing fields to provide adjustments | ||
C | to the precip field to balance EtaN online | ||
C *==========================================================* | ||
CEOP | ||
|
||
|
||
C------------------------------------------------------------------------------| | ||
C Create COMMON blocks for the diagnostics_vec variables | ||
C------------------------------------------------------------------------------| | ||
|
||
COMMON /SLR_CORR_FIELDS_R/ | ||
& slrc_obs_timeseries, slr_average_etans, | ||
& volumes_above_zero | ||
_RL slrc_obs_timeseries(slrc_n_obs) | ||
_RL slr_average_etans(slrc_max_average_recs) | ||
_RL volumes_above_zero(slrc_est_order+1) | ||
#endif /* ALLOW_SLR_CORR */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
C CPP options file for SLR_CORR package | ||
C Use this file for selecting options within the SLR_CORR package | ||
|
||
#ifndef SLR_CORR_OPTIONS_H | ||
#define SLR_CORR_OPTIONS_H | ||
#include "PACKAGES_CONFIG.h" | ||
#include "CPP_OPTIONS.h" | ||
|
||
#ifdef ALLOW_SLR_CORR | ||
|
||
C balance sea level rise (each time step by default) | ||
#define ALLOW_SLR_CORR_BALANCE | ||
|
||
C When adjusting GMSL, only adjust precipitation | ||
C where precipitation is positive | ||
#define MODIDY_POSITIVE_PRECIP_ONLY | ||
|
||
C Instead of using a spatially-invariant precipitation | ||
C adjustment, apply a scaling factor to precipitation | ||
#define SCALE_PRECIP_TO_ADJUST | ||
|
||
#endif /* ALLOW_SLR_CORR */ | ||
#endif /* ALLOW_SLR_OPTIONS_H */ | ||
|
||
CEH3 ;;; Local Variables: *** | ||
CEH3 ;;; mode:fortran *** | ||
CEH3 ;;; End: *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
C------------------------------------------------------------------------------| | ||
C SLR_CORR_PARAM.h | ||
C------------------------------------------------------------------------------| | ||
|
||
#ifdef ALLOW_SLR_CORR | ||
|
||
CBOP | ||
C !ROUTINE: SLRC_CORR.h | ||
C !INTERFACE: | ||
C #include "SLR_CORR.h" | ||
|
||
C !DESCRIPTION: | ||
C *==========================================================* | ||
C | SLR_CORR_FIELDS.h | ||
C | o Header file containing fields to provide adjustments | ||
C | to the precip field to balance EtaN online | ||
C *==========================================================* | ||
CEOP | ||
|
||
C------------------------------------------------------------------------------| | ||
C Define the global slr_corr variables | ||
C------------------------------------------------------------------------------| | ||
|
||
C These are the dates that correspond to the input file | ||
INTEGER slrc_obs_startdate_1 | ||
INTEGER slrc_obs_startdate_2 | ||
|
||
C This is the interval between obs in the input file | ||
_RL slrc_obs_period | ||
|
||
C This is the time interval over which the running average is computed | ||
_RL slrc_balancePeriod | ||
_RL slrc_obs_start_time | ||
|
||
C This is the precip adjustment, updated at each time step | ||
_RL slrc_precip_adjustment | ||
|
||
C This is the scaling factor to adjust precip, updated at each time step | ||
_RL slrc_precip_adjustment_fac | ||
|
||
C This is the reference to be added to obs to account for bias btw obs and md | ||
_RL slrc_obs_ref | ||
|
||
C These are some i/o parameters | ||
INTEGER slrc_filePrec | ||
|
||
C Input file names | ||
CHARACTER*(128) slrc_obs_filename | ||
CHARACTER*(128) slrc_output_filename | ||
|
||
C------------------------------------------------------------------------------| | ||
C Create COMMON blocks for the slr_corr variables | ||
C------------------------------------------------------------------------------| | ||
|
||
COMMON /SLR_CORR_PARAM_I/ | ||
& slrc_obs_startdate_1, | ||
& slrc_obs_startdate_2, | ||
& slrc_filePrec | ||
|
||
COMMON /SLR_CORR_PARAM_C/ | ||
& slrc_obs_filename, | ||
& slrc_output_filename | ||
|
||
COMMON /SLR_CORR_PARAM_R/ | ||
& slrc_obs_period, | ||
& slrc_balancePeriod, | ||
& slrc_obs_start_time, | ||
& slrc_precip_adjustment, | ||
& slrc_obs_ref | ||
|
||
COMMON /SLR_CORR_PARAM_R2/ | ||
& slrc_precip_adjustment_fac | ||
#endif /* ALLOW_SLR_CORR */ |
Oops, something went wrong.