1 |
stephd |
1.5 |
C $Header: /u/gcmpack/MITgcm_contrib/darwin2/pkg/darwin/SPECTRAL.h,v 1.4 2012/08/23 21:48:24 jahn Exp $ |
2 |
jahn |
1.2 |
C $Name: $ |
3 |
jahn |
1.1 |
|
4 |
|
|
C SPECTRAL.h |
5 |
|
|
C description: spectral runtime parameters and fields |
6 |
|
|
|
7 |
|
|
C darwin_waves :: 'central' wavelengths of wavebands (nm) |
8 |
jahn |
1.3 |
C darwin_wavebands :: waveband boundaries (nm) |
9 |
|
|
COMMON/SPECTRAL_PARAMS_R/darwin_waves, darwin_wavebands |
10 |
jahn |
1.1 |
_RL darwin_waves(tlam) |
11 |
jahn |
1.3 |
_RL darwin_wavebands(tlam+1) |
12 |
jahn |
1.1 |
|
13 |
|
|
C WtouEins :: W to uEin/s conversion factor |
14 |
|
|
COMMON/darwin_oasim/ WtouEins |
15 |
|
|
_RL WtouEins(tlam) |
16 |
|
|
|
17 |
|
|
C oasim_ed :: spectral direct downwelling irradiance at surface read from file |
18 |
|
|
C oasim_es :: spectral diffuse downwelling irradiance at surface read from file |
19 |
|
|
#ifdef OASIM |
20 |
|
|
_RL oasim_ed(1-OLx:sNx+OLx,1-OLy:sNy+OLy,tlam,nSx, nSy) |
21 |
|
|
_RL oasim_es(1-OLx:sNx+OLx,1-OLy:sNy+OLy,tlam,nSx, nSy) |
22 |
|
|
COMMON /SPECTRAL_INPUT/ oasim_ed, oasim_es |
23 |
|
|
#endif |
24 |
|
|
|
25 |
|
|
COMMON /SPECTRAL_OUPUT/ |
26 |
stephd |
1.5 |
#ifdef DAR_DIAG_PARW |
27 |
|
|
& PARwave, |
28 |
|
|
#endif |
29 |
jahn |
1.1 |
#ifdef DAR_DIAG_IRR |
30 |
jahn |
1.4 |
& Edave,Esave,Euave,Estave,Eutave, |
31 |
jahn |
1.1 |
#endif |
32 |
jahn |
1.2 |
#ifdef DAR_DIAG_IRR_AMPS |
33 |
jahn |
1.4 |
& amp1ave,amp2ave, |
34 |
jahn |
1.2 |
#endif |
35 |
jahn |
1.1 |
#ifdef DAR_DIAG_ABSORP |
36 |
|
|
& aave, |
37 |
|
|
#endif |
38 |
|
|
#ifdef DAR_DIAG_SCATTER |
39 |
|
|
& btave, |
40 |
|
|
& bbave, |
41 |
|
|
#endif |
42 |
|
|
#ifdef DAR_DIAG_PART_SCATTER |
43 |
|
|
& apartave, |
44 |
|
|
& btpartave, |
45 |
|
|
& bbpartave, |
46 |
|
|
#endif |
47 |
stephd |
1.5 |
#ifdef DAR_DIAG_EK |
48 |
|
|
& Ek_nlave, |
49 |
|
|
& EkoverE_nlave, |
50 |
|
|
#endif |
51 |
jahn |
1.2 |
& rmudave |
52 |
jahn |
1.1 |
|
53 |
stephd |
1.5 |
#ifdef DAR_DIAG_PARW |
54 |
|
|
_RL PARwave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx, nSy,tlam) |
55 |
|
|
#endif |
56 |
|
|
|
57 |
jahn |
1.1 |
#ifdef DAR_DIAG_IRR |
58 |
|
|
_RL Edave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
59 |
|
|
_RL Esave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
60 |
|
|
_RL Euave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
61 |
jahn |
1.4 |
_RL Estave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
62 |
jahn |
1.1 |
_RL Eutave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
63 |
|
|
#endif |
64 |
jahn |
1.2 |
#ifdef DAR_DIAG_IRR_AMPS |
65 |
jahn |
1.4 |
_RL amp1ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
66 |
|
|
_RL amp2ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
67 |
jahn |
1.2 |
#endif |
68 |
jahn |
1.1 |
#ifdef DAR_DIAG_ABSORP |
69 |
|
|
_RL aave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
70 |
|
|
#endif |
71 |
|
|
#ifdef DAR_DIAG_SCATTER |
72 |
|
|
_RL btave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
73 |
|
|
_RL bbave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
74 |
|
|
#endif |
75 |
|
|
#ifdef DAR_DIAG_PART_SCATTER |
76 |
|
|
_RL apartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
77 |
|
|
_RL bbpartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
78 |
|
|
_RL btpartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
79 |
|
|
#endif |
80 |
stephd |
1.5 |
#ifdef DAR_DIAG_EK |
81 |
|
|
_RL Ek_nlave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx, nSy,npmax, |
82 |
|
|
& tlam) |
83 |
|
|
_RL EkoverE_nlave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx, nSy, |
84 |
|
|
& npmax,tlam) |
85 |
|
|
#endif |
86 |
jahn |
1.2 |
_RL rmudave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
87 |
jahn |
1.1 |
|