File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
docs/tutorials/standalone/Snow
experiments/standalone/Snow Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pred_model = Chain(
152
152
)
153
153
154
154
# We then specify `Float32` as the `Float` type for the model (it will run faster
155
- # than `Float64`, and changing the model type is as simple as calling `convert_model! (model, T)`
155
+ # than `Float64`, and changing the model type is as simple as calling `convert_model(model, T)`
156
156
# for Float type `T`), and make the model using our predictive component and boundary functions:
157
157
FT = Float32
158
158
model = ModelTools. make_model (
Original file line number Diff line number Diff line change @@ -22,14 +22,11 @@ using DelimitedFiles
22
22
23
23
# Site-specific quantities
24
24
# Error if no site argument is provided
25
- #=
26
25
if length (ARGS ) < 1
27
26
@error (" Please provide a site name as command line argument" )
28
27
else
29
28
SITE_NAME = ARGS [1 ]
30
29
end
31
- =#
32
- SITE_NAME = " cdp"
33
30
34
31
climaland_dir = pkgdir (ClimaLand)
35
32
Original file line number Diff line number Diff line change 363
363
364
364
365
365
"""
366
- setoutscale!(model, scale; dtype )
366
+ setoutscale!(model, scale)
367
367
368
368
Set the output scaling parameter for model usage (i.e. rectifying scaling done on model input).
369
369
This may have unintended results or not work for models not created with `make_model()` or `make_model_paper()`.
386
386
387
387
388
388
"""
389
- setboundscale!(model, bound, scale; dtype )
389
+ setboundscale!(model, bound, scale)
390
390
391
391
Permits scaling of the upper or lower boundary function by the provided constant.
392
392
This may have unintended results or not work for models not created with `make_model()`.
425
425
426
426
427
427
"""
428
- settimescale!(model, dt; dtype )
428
+ settimescale!(model, dt)
429
429
Set the timescale parameter for model usage, for a model made with `make_model_paper()`.
430
430
Note: this should only be used on models made with `make_model_paper()`,
431
431
and not `make_model()`, or it will have unintended consequences. This function represents
You can’t perform that action at this time.
0 commit comments