Skip to content

Commit

Permalink
Update configuration.py
Browse files Browse the repository at this point in the history
TRUNC can now be a float.
  • Loading branch information
MetNoMarvinK authored Oct 3, 2024
1 parent 6002d05 commit 0b474da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysurfex/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def __init__(self, env, conf):
gsize = float(env["LGSIZE"])
trunc = 2 # linear
if "TRUNC" in env:
trunc = int(float(env["TRUNC"]))
trunc = float(env["TRUNC"])
domain_dict = {
"nam_pgd_grid": {"cgrid": "CONF PROJ"},
"nam_conf_proj": {
Expand Down

0 comments on commit 0b474da

Please sign in to comment.