@@ -42,7 +42,6 @@ function prescribed_forcing_fluxnet(
42
42
start_date, # in UTC
43
43
earth_param_set,
44
44
FT;
45
- periodic = false ,
46
45
split_precip = true ,
47
46
gustiness = 1 ,
48
47
c_co2 = TimeVaryingInput ((t) -> 4.2e-4 ),
@@ -82,36 +81,31 @@ function prescribed_forcing_fluxnet(
82
81
column_name_map,
83
82
seconds_since_start_date;
84
83
preprocess_func = (x) -> x + 273.15 ,
85
- periodic,
86
84
)
87
85
atmos_P = time_varying_input_from_data (
88
86
data,
89
87
" PA_F" ,
90
88
column_name_map,
91
89
seconds_since_start_date;
92
90
preprocess_func = (x) -> x * 1000 ,
93
- periodic,
94
91
)
95
92
atmos_u = time_varying_input_from_data (
96
93
data,
97
94
" WS_F" ,
98
95
column_name_map,
99
- seconds_since_start_date;
100
- periodic,
96
+ seconds_since_start_date,
101
97
)
102
98
LW_d = time_varying_input_from_data (
103
99
data,
104
100
" LW_IN_F" ,
105
101
column_name_map,
106
- seconds_since_start_date;
107
- periodic,
102
+ seconds_since_start_date,
108
103
)
109
104
SW_d = time_varying_input_from_data (
110
105
data,
111
106
" SW_IN_F" ,
112
107
column_name_map,
113
- seconds_since_start_date;
114
- periodic,
108
+ seconds_since_start_date,
115
109
)
116
110
117
111
# Specific humidity is computed from P, VPD, and T using `compute_q`
@@ -124,7 +118,6 @@ function prescribed_forcing_fluxnet(
124
118
column_name_map,
125
119
seconds_since_start_date;
126
120
preprocess_func = q_closure,
127
- periodic,
128
121
)
129
122
130
123
# Next is precipitation, which is reported as an accumulation over
@@ -145,15 +138,13 @@ function prescribed_forcing_fluxnet(
145
138
column_name_map,
146
139
seconds_since_start_date;
147
140
preprocess_func = compute_rain,
148
- periodic,
149
141
)
150
142
atmos_P_snow = time_varying_input_from_data (
151
143
data,
152
144
[" TA_F" , " VPD_F" , " P_F" ],
153
145
column_name_map,
154
146
seconds_since_start_date;
155
147
preprocess_func = compute_snow,
156
- periodic,
157
148
)
158
149
else
159
150
atmos_P_liq = time_varying_input_from_data (
@@ -162,15 +153,13 @@ function prescribed_forcing_fluxnet(
162
153
column_name_map,
163
154
seconds_since_start_date;
164
155
preprocess_func = (x) -> - x / 1000 / data_dt,
165
- periodic,
166
156
)
167
157
atmos_P_snow = time_varying_input_from_data (
168
158
data,
169
159
" P_F" ,
170
160
column_name_map,
171
161
seconds_since_start_date;
172
162
preprocess_func = (x) -> zero (x),
173
- periodic,
174
163
) # no snow
175
164
end
176
165
0 commit comments