File indexing completed on 2018-03-02 18:43:51 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
64e64319fa Jean*0001 #include "SHAP_FILT_OPTIONS.h"
0002
0003
0004
0005
0006 SUBROUTINE SHAP_FILT_DIAGNOSTICS_INIT( myThid )
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 IMPLICIT NONE
0017
0018
41bf0a383d Jean*0019 #include "SIZE.h"
64e64319fa Jean*0020 #include "EEPARAMS.h"
41bf0a383d Jean*0021 #include "PARAMS.h"
64e64319fa Jean*0022
0023
0024
0025
0026 INTEGER myThid
0027
0028
0029 #ifdef ALLOW_DIAGNOSTICS
41bf0a383d Jean*0030
0031 CHARACTER*16 DIAGS_MK_UNITS
0032 EXTERNAL DIAGS_MK_UNITS
0033
64e64319fa Jean*0034
0035
0036
a51fbd3807 Jean*0037
64e64319fa Jean*0038
0039
0040
0041
0042
0043 INTEGER diagNum
a51fbd3807 Jean*0044 INTEGER diagMate
64e64319fa Jean*0045 CHARACTER*8 diagName
0046 CHARACTER*16 diagCode
0047 CHARACTER*16 diagUnits
0048 CHARACTER*(80) diagTitle
41bf0a383d Jean*0049 CHARACTER*10 trUnits
64e64319fa Jean*0050
0051
0052
0053
0054
0055
0056
0057 diagName = 'SHAP_dT '
0058 diagTitle = 'Temperature Tendency due to Shapiro Filter'
0059 diagUnits = 'K/s '
a51fbd3807 Jean*0060 diagCode = 'SMR MR '
0061 CALL DIAGNOSTICS_ADDTOLIST( diagNum,
0062 I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
64e64319fa Jean*0063
41bf0a383d Jean*0064 trUnits = 'kg/kg'
0065 IF ( fluidIsWater .OR. useAIM ) trUnits = 'g/kg'
64e64319fa Jean*0066 diagName = 'SHAP_dS '
0067 diagTitle = 'Specific Humidity Tendency due to Shapiro Filter'
41bf0a383d Jean*0068 diagUnits = DIAGS_MK_UNITS( trUnits//'/s', myThid )
a51fbd3807 Jean*0069 diagCode = 'SMR MR '
0070 CALL DIAGNOSTICS_ADDTOLIST( diagNum,
0071 I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
64e64319fa Jean*0072
0073 diagName = 'SHAP_dU '
0074 diagTitle = 'Zonal Wind Tendency due to Shapiro Filter'
0075 diagUnits = 'm/s^2 '
a51fbd3807 Jean*0076 diagCode = 'UUR MR '
0077 diagMate = diagNum + 2
0078 CALL DIAGNOSTICS_ADDTOLIST( diagNum,
0079 I diagName, diagCode, diagUnits, diagTitle, diagMate, myThid )
64e64319fa Jean*0080
0081 diagName = 'SHAP_dV '
0082 diagTitle = 'Meridional Wind Tendency due to Shapiro Filter'
0083 diagUnits = 'm/s^2 '
a51fbd3807 Jean*0084 diagCode = 'VVR MR '
0085 diagMate = diagNum
0086 CALL DIAGNOSTICS_ADDTOLIST( diagNum,
0087 I diagName, diagCode, diagUnits, diagTitle, diagMate, myThid )
64e64319fa Jean*0088
73e3454c50 Davi*0089 diagName = 'SHAP_dKE'
a51fbd3807 Jean*0090 diagTitle =
73e3454c50 Davi*0091 & 'Kinetic Energy Tendency due to Shapiro Filter (Mass Weighted)'
0092 diagUnits = 'm^2/s^3 '
a51fbd3807 Jean*0093 diagCode = 'SMr MR '
0094 CALL DIAGNOSTICS_ADDTOLIST( diagNum,
0095 I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
73e3454c50 Davi*0096
64e64319fa Jean*0097
0098
0099
0100
0101 #endif /* ALLOW_DIAGNOSTICS */
0102
0103 RETURN
0104 END