Hi Everyone,
Good day!
I am using the following R version:
> R.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 0.2
year 2020
month 06
day 22
svn rev 78730
language R
version.string R version 4.0.2 (2020-06-22)
nickname Taking Off Again
However, since the tutorial was made for GLM version lower than GLM3r, there are some warnings shown when I ran the model. Note that I am already using an nml file suited for GLM 3.0 (which I downloaded from the GLM website directly and just edited to suit my example lake).
1st warning is when I try to plot the given met files (see image 1).
The model finished simulation when I try the "run_glm(sim_folder, verbose=TRUE)" command.
Reading config from glm3.nml
No WQ config
values for crest_elev not provided, assuming max elevation, H[bsn]
VolAtCrest= 128962363.28125, and Max Lake Vol= 128962363.28125 (m3)
No snow and ice section, setting default parameters and assuming no snowfall
No sediment section, turning off sediment heating
WARNING: Initial profiles problem - expected 0 wd_init_vals entries but got 6
----------------------------------------------------
| General Lake Model (GLM) Version 3.0.5 |
----------------------------------------------------
glm built using MSC version 1916
nDays 152 timestep 3600.000000
Maximum lake depth is 100.000000
Depth where flow will occur over the crest is 100.000000
*starting sediment = 5.00000
*starting sediment = 0.10000
Wall clock start time : Sat Nov 14 14:09:47 2020
Simulation begins...
Running day 2457296, 100.00% of days complete
Wall clock finish time : Sat Nov 14 14:09:48 2020
Wall clock runtime 1 seconds : 00:00:01 [hh:mm:ss]
------------------------------------------------
Run Complete
[1] 0
After running the model, the next instruction is to enter: "baseline <- file.path(sim_folder, 'output/
output.nc')"
Then, "surf_temp <- get_var(file=baseline, "temp", reference='surface', z_out=c(1))"
And this warning message pops up:
Warning messages:
1: In strptime(xx, f, tz = tz) : unknown timezone 'Etc/GMT--8'
2: In as.POSIXct.POSIXlt(x) : unknown timezone 'Etc/GMT--8'
3: In strptime(x, f, tz = tz) : unknown timezone 'Etc/GMT--8'
4: In as.POSIXct.POSIXlt(as.POSIXlt(x, tz, ...), tz, ...) :
unknown timezone 'Etc/GMT--8'
5: In strptime(xx, f, tz = tz) : unknown timezone 'Etc/GMT--8'
6: In as.POSIXct.POSIXlt(x) : unknown timezone 'Etc/GMT--8'
7: In strptime(x, f, tz = tz) : unknown timezone 'Etc/GMT--8'
8: In as.POSIXct.POSIXlt(as.POSIXlt(x, tz, ...), tz, ...) :
unknown timezone 'Etc/GMT--8'
Does anybody know how to fix the issue?
Also, when I try to view the output csv in the output folder and import it as dataframe, R cannot read the correct date format. I tried modifying it as %Y-%m-%d %H:%M but it still cannot read the date column (see images 2 and 3).
That is all for now. I hope someone can help me. Thank you in advance.