Skip to content

Commit

Permalink
rename land_frac to f_land in szr/szo fmv13
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hahn committed Feb 10, 2023
1 parent 2bb4ad5 commit f5b4f8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ascat/read_native/eps_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ def read_szx_fmv_13(eps_file):
fields = [("sigma0_trip", long_nan), ("inc_angle_trip", uint_nan),
("azi_angle_trip", int_nan), ("kp", uint_nan),
("num_val_trip", ulong_nan), ("f_kp", byte_nan),
("f_usable", byte_nan)]
("f_usable", byte_nan), ("land_frac", uint_nan)]

for f, nan_val in fields:
data[f] = raw_data[f.upper()].reshape(n_records, 3)
Expand All @@ -1863,6 +1863,8 @@ def read_szx_fmv_13(eps_file):

data["swath_indicator"] = data.pop("swath indicator")

data["f_land"] = data.pop("land_frac")

return data, metadata


Expand Down

0 comments on commit f5b4f8f

Please sign in to comment.