1 |
C $Header: /u/gcmpack/MITgcm_contrib/darwin2/pkg/darwin/SPECTRAL.h,v 1.1 2011/04/13 18:56:23 jahn Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C SPECTRAL.h |
5 |
C description: spectral runtime parameters and fields |
6 |
|
7 |
C darwin_waves :: 'central' wavelengths of wavebands (nm) |
8 |
COMMON/SPECTRAL_PARAMS_R/darwin_waves |
9 |
_RL darwin_waves(tlam) |
10 |
|
11 |
C WtouEins :: W to uEin/s conversion factor |
12 |
COMMON/darwin_oasim/ WtouEins |
13 |
_RL WtouEins(tlam) |
14 |
|
15 |
C oasim_ed :: spectral direct downwelling irradiance at surface read from file |
16 |
C oasim_es :: spectral diffuse downwelling irradiance at surface read from file |
17 |
#ifdef OASIM |
18 |
_RL oasim_ed(1-OLx:sNx+OLx,1-OLy:sNy+OLy,tlam,nSx, nSy) |
19 |
_RL oasim_es(1-OLx:sNx+OLx,1-OLy:sNy+OLy,tlam,nSx, nSy) |
20 |
COMMON /SPECTRAL_INPUT/ oasim_ed, oasim_es |
21 |
#endif |
22 |
|
23 |
COMMON /SPECTRAL_OUPUT/ |
24 |
#ifdef DAR_DIAG_IRR |
25 |
& Edave,Esave,Euave,Eutave, |
26 |
#endif |
27 |
#ifdef DAR_DIAG_IRR_AMPS |
28 |
& c1ave,c2ave, |
29 |
#endif |
30 |
#ifdef DAR_DIAG_ABSORP |
31 |
& aave, |
32 |
#endif |
33 |
#ifdef DAR_DIAG_SCATTER |
34 |
& btave, |
35 |
& bbave, |
36 |
#endif |
37 |
#ifdef DAR_DIAG_PART_SCATTER |
38 |
& apartave, |
39 |
& btpartave, |
40 |
& bbpartave, |
41 |
#endif |
42 |
& rmudave |
43 |
|
44 |
#ifdef DAR_DIAG_IRR |
45 |
_RL Edave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
46 |
_RL Esave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
47 |
_RL Euave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
48 |
_RL Eutave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
49 |
#endif |
50 |
#ifdef DAR_DIAG_IRR_AMPS |
51 |
_RL c1ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
52 |
_RL c2ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
53 |
#endif |
54 |
#ifdef DAR_DIAG_ABSORP |
55 |
_RL aave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
56 |
#endif |
57 |
#ifdef DAR_DIAG_SCATTER |
58 |
_RL btave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
59 |
_RL bbave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
60 |
#endif |
61 |
#ifdef DAR_DIAG_PART_SCATTER |
62 |
_RL apartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
63 |
_RL bbpartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
64 |
_RL btpartave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy,tlam) |
65 |
#endif |
66 |
_RL rmudave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
67 |
|