Skip to content

Commit

Permalink
revert daynight flag to read from metadata, now that its integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Brodrick committed Dec 29, 2021
1 parent bf99a31 commit 03ed4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emit_utils/daac_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def makeGlobalAttr(nc_ds: netCDF4.Dataset, primary_envi_file: str, glt_envi_file
nc_ds.southernmost_latitude = ul_lr[3]
nc_ds.spatialResolution = res

nc_ds.day_night_flag = "day" #primary_ds.metadata['emit acquisition daynight'] #TODO - replace
nc_ds.day_night_flag = primary_ds.metadata['emit acquisition daynight']

nc_ds.sync() # flush

Expand Down

0 comments on commit 03ed4f3

Please sign in to comment.