Skip to content

Commit

Permalink
Use -999 as undefined snow value
Browse files Browse the repository at this point in the history
  • Loading branch information
trygveasp committed Sep 14, 2023
1 parent 2562c1a commit d5aaaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysurfex/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def check_input_to_soda_dimensions(my_nx, my_ny, nx1, ny1):

sd_var = sd_fh.variables[s_d["var"]][:]
sd_var = sd_var.reshape([n_y * n_x], order="C")
sd_var = sd_var.filled(fill_value=999.0)
sd_var = sd_var.filled(fill_value=-999.0)
sd_var = sd_var.tolist()

if s_m is not None:
Expand Down

0 comments on commit d5aaaf0

Please sign in to comment.