forked from lawinslow/GLM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
300 lines (300 loc) · 11 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
#
# 2015/12/16
# Version 2.2.0beta
#
# Removed support for open64 compiler (compiler suite no longer maintained)
# Fixed flow factor for submerged inflows
# Added sediment zones
# Added isotope, isotope_c and radon modules
# Fixed minor memory leak in namelist reader
# Added attributes to some netcdf vars that were missing them
# Added variable outflows (Michael Weber)
# Added Bubbler
# Fixed some memory issues
# Added several new biogeochem models
# Various other bugfixes.
#
# 2015/08/26
# Version 2.0.4
# -- Since 2.0.3
#
# LAW et al :
# Fixed tracking of Snow Density
# Fixed how the falling snow and existing snow densities were combined
# Added additional diagnostic output to lake.csv
# Cleaned up and fixed melting code where melt volumes were based on rho0 instead of ice densities
# Improved tracking of ice/snow volumes and fluxes
#
# 2015/04/28
# Version 2.0.3
# -- Since 2.0.2
#
# Updates to organic_matter, totals and pathogens modules
# Fix to not look for cloud/longwave for rad_modes 3 & 5
#
# 2015/04/28
# Version 2.0.2
#
# -- Since 2.0.1
#
# Fixed hypolimnion mixing problem
# Additional deep mixing options
#
# 2015/04/08
# Version 2.0.1
#
# -- Since 2.0.0
#
# Added CH4 to carbon module in libaed2
#
#
# 2015/03/10
# Version 2.0.0
#
# -- Since 1.4.0
#
# Changed units to SI for flow in inflows and outflows [m3/s instead of ML/day]
# Changed units to SI for Area in glm2.nml - morphometry [m2 not 1000m2]
# Changed units to SI for Density (instead of 1000-dens) (internal)
# Improved plotting routines
# Updated to latest fabm (as at 20141205)
# Changed the WQ array index order to accommodate the new FABM
# Added atmospheric stability to surface calcs
# Added bird model for solar radiation
# Added layer stress, seepage and runoff
# Added below surface inflows.
# Selectable use of FABM-AED or AED2
# Added support for libAED2 - this is the new default WQ method
# WQ is selectable from glm2.nml file or from command line as either fabm or aed2
#
#
# 2014/08/02
# Version 1.4.0
#
# Since glm_1.3.3
#
# more FABM mods :
# Updated to new fabm on 2014-06-10
# Removed driver/glm Makefile and fabm_driver - fabm doesnt use them anymore
# Remove "conserved quantities" which are no longer supported - the new mechanism
# will take more work than they are worth. - sigh
# Update time_treatment to new "output_*" - sigh
# Updated the FABM macros to the new FABM macros - sigh
# Changed totals module to do the calculations in "do" instead of "conserved quantities"
# Changed sedflux to use diagnostic variables instead of state vars
# Removed unimplemented "bacteria" and "viruses" modules
#
# made the output time strings reflect the actual time of output
# Modified start date reflect the start date (previously started a day early).
# Fixed inflows bug : was not inserting inflow if it failed to reach neutral buoyancy in the daily time step
# Fixed a long standing, unnoticed bug with benthic processing.
# Fixed a bug in lake.csv - some columns were always "missing" (introduced by libutil split)
# Fixed minor bug where lake.csv was empty if csv_point_nlevs was 0
# Fixed a bug in initialization that crashed if there were more WQ variables in
# inflow that in FABM
# Added support for different plots.nml file names - now if a name
# appears after the --xdisp (without a preceding --) then it is assumed to be
# a plots.nml filename and is used instead of the default.
# Fixed a bug where surface flux was being added twice
# Added support for fonts in plotting.
# Fixed plot window name (again...)
# Renamed glm variables with FABM in them to WQ instead. This is prepatory to allowing
# other forms of WQ calculations (eg libaed2)
# also renamed glm_fabm.h to glm_wqual.h
# Added outflow output files in the format of inflow files.
# Changed &fabm_setup to wq_setup (and fabm_nml_file to wq_nml_file) in glm.nml
# If out_dir doesn't exist, attempt to create it
# Added time format option to csv files
# Added passing of bottom_stress to FABM from GLM [NB this is non-functional because GLM does not have bottom stress yet]
# Added benthic light area code
# Preliminary support for non-gui OS-X version. Unfortunately this was broken again
# when fabm was updated. Although the new fabm will build, the compiler hangs on glm_fabm.F90 trying
# to load fabm.mod.
# Split glm_model to support non-averaged inflow/outflow and meteo
# Separated from libutil library.
# added scaling factors for met variables other than wind.
# modified the way wind_factor is done, it now is applied when met is read in, rather
# than everywhere wind is used. This might fix an unknown bug since fabm was using
# the unscaled value of windspeed
#
# FABM mods :
# Updated to new FABM as at 20131121.
# Added new k_wind variant to aed_utils.F90
# Added support for varied mobility (vertical movement) in phytoplankton.
#
#
# 2013/11/15
# Version 1.3.3
#
# Since glm_1.3.2
#
# Added more limiters to nitrogen and silica uptake in aed_phytoplankton
#
#
# 2013/09/24
# Version 1.3.2
#
# Since glm_1.3.1
#
# Added support for sub daily in plotting
# Changed handling of diagnostics vars to be as if they were time_treatment_last.
# This is because they do not get appropriately resized when layers do
# Changed name of do_settle flag to mobility_off
# Small correction to how start date is initialised
# Put back program name for plot window
# Moved do_fabm to be after all layer resizing so output better reflects what was there when fabm ran
# Added support for plotting extc and density
#
#
# 2013/09/22
# Version 1.3.1
#
# Since glm_1.3.0
#
# Fixed a problem where if fabm is not used require inflow variables to be limited to 3 (flow,temp,salt)
# Added a version watermark to the plots
# Fixed Thermocline depth responding opposite to expected when Kw adjusted.
# Solution: New code in glm_surface.c to avoid doubling up of surface energy due to PAR.
# Note change to glm_model.c to recalculate the light at the surface layer.
# Fixed GLM extremely sensitive to choice of bsn_len_outl and bsn_wid_outl and users most often
# use the default in Testsim2 rather than the actual values for their lake.
# Solution: remove all reference to these parameters replace with a calculation based on a) the
# area of the lake at that layer; b) the area of an ellipse; and c) the ratio of bsn_len to bsn_wid at
# the crest. The modified code affects both do_mixing and outflows.
# Fixed GLM creating energy in do_mixer leaving lakes 2-5oC too hot.
# Solution: When combining layers in kelvin_helmoltz must recalculate density and set both layers to be the same.
# Added version stamp support to libplot.
# Fixed problem with save all-in-1 not getting rows right if not exact multiple of columns
# Changed phytoplankton diagnostic variables to be time_treatment_last
# Added support for plotting Radiation
#
#
# 2013/08/08
# Version 1.3.0
#
# Since glm_1.2.2
#
# FABM core updated
# Rewritten the settling - now called mobility to handle non-uniform direction of motion
# Fixed a problem with light not fading correctly
# Modified the restrictive ordering requirement on inflow FABM variables order - now should be as in glm.nml
# Corrected the WIN32 preprocessor flag to _WIN32
# minor update to csv reading to support ALM
# some addition for for support for single precision version
# plotting no longer needs temp and salinity first
# Added mixing parameter coef_mix_hyp (efficiency of hypolimnetic mixing)
#
#
# 2013/05/17
# Version 1.2.2
#
# Since glm_1.2.1
#
# Allow layer 0 to be in the "levels output"
# Fixed a bug of incorrect sediment heating
#
#
# 2013/05/02
# Version 1.2.1
#
# Since glm_1.2.0
#
# Fixed a bug where timefmt that doesnt need "stop" field would crash if it wasn't included
# Fixed check of floating offtake being in the right range.
#
#
# 2013/04/12
# Version 1.2.0
#
# Since glm_1.1.0
#
# changed meaning of "Depths" in "init_profiles" to really be depths, and added a new
# parameter "lake_depth" to be the total depth of the lake. To use the old meaning
# you must change "num_depths" and "the_depths" to "num_heights" and "the_heights" respectively
# mixing bugfixes
# changed some config paramters
#
# coef_mix_kinetic => coef_mix_conv
# coef_mix_eta => coef_wind_stir
# coef_mix_cs => coef_mix_shear
# coef_mix_ct => coef_mix_turb
#
# added check for unknown entries in namelist file
# added checks to H and A from "morphometry"
#
# ---------------------------------------------
#
# 2013/03/13
# Version 1.1.0
#
# Since glm_1.0.1C
#
# upgraded to latest fabm
# fixed a problem in zooplankton
# fixed a problem where layer thicknesses output were > than max_layer_ht
# modified evap equations to be self consistant.
# modified csv and namelist readers to allow for possiblility of blank lines or stray
# windows style end of line markers.
# corrected output which was missing the top layer of data (except for WQ values)
# corrected wind output to .nc file to be factored with wind_factor
# modified output so lake.csv is written daily and now includes daily Rain and Evap
# corrected to inflow outflow rates reported in lake.csv file to account for "factor"
# fixed a bug in outflow which put the effective outflow above the lake (for non-zero base_elev)
# corrected floating outflow to rest on the bottom rather than sink below bottom if lake is too deep
# Added fudge factor to allow for lakes briefly being deeper than crest allows
#
# ---------------------------------------------
#
# 2013/02/18
# Version 1.0.1C
#
# Since glm_1.0.0C
#
# remove base_elev and crest_elev from config
# fixed bug in namelist reader where integers in a REAL list would not appear in the list
# fixed bug where max layers was checked for validity before that was possible leading to crashes
# if the lake was deeper than maxlayers could allow.
# fixed bug that would crash is lake was deeper than 100m.
#
# ---------------------------------------------
#
# 2012/12/12
# Version 1.0.0C
# Translated to C
#
# ---------------------------------------------
#
# Since glm_20121003
#
# changed NumWQVars to NumFABMVars to avoid confusion with the num_wq_vars parameter
# in the initial conditions
#
# Since glm_20120903
#
# added support for sub-daily meteo
#
# bumped version to 0.9.6F for fortran version and 0.9.6C for C
# many minor internal name changes
# fabm_surface exchange changes
#
# moved multi-ben flag to fabm section of glm.nml
#
# Since glm_20120823
#
# reverted to fortran glm_time and glm_util for the windows build
# split mixer from model and mixu from mixer in prep. for transitioning to C
# fixed csv bug where missing value was being put in multi-levels
#
# Since glm_20120801
#
# Removed out_oflo flag from glm.nml - was not used
# Added height of max dT/dz to lake.csv
# Fixed Min Temp output in lake.csv
# Restored multi-bentic calcs
# Fixed Longtitude/Latitude reversal in output.nc
# merged wqual and cc arrays - one is now a pointer to t'other
# Fixed initial condition overwrite
# Added settling
# Cleaned out some more GOTO's and corrected an error on an earlier goto removal
# Moved all time routines to C
# Added f2003 C_Interoperability support