Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix azimuth encoding #73

Merged
merged 1 commit into from
Jul 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pygac/gac_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def avhrrGAC_io(satellite_name, xutcs, startdate, enddate, starttime, endtime,
g4.attrs["dataset_name"] = np.string_('Solar azimuth angle')
g4.attrs["units"] = np.string_('Deg')
g4.attrs["gain"] = np.float32(0.01)
g4.attrs["offset"] = np.float32(180.0)
g4.attrs["offset"] = np.float32(0.0)
g4.attrs["missingdata"] = np.int32(MISSING_DATA)
g4.attrs["nodata"] = np.int32(MISSING_DATA)
g4.attrs["starttime"] = np.string_(starttime[0:6])
Expand All @@ -532,7 +532,7 @@ def avhrrGAC_io(satellite_name, xutcs, startdate, enddate, starttime, endtime,
g5.attrs["dataset_name"] = np.string_('Satellite azimuth angle')
g5.attrs["units"] = np.string_('Deg')
g5.attrs["gain"] = np.float32(0.01)
g5.attrs["offset"] = np.float32(180.0)
g5.attrs["offset"] = np.float32(0.0)
g5.attrs["missingdata"] = np.int32(MISSING_DATA)
g5.attrs["nodata"] = np.int32(MISSING_DATA)
g5.attrs["starttime"] = np.string_(starttime[0:6])
Expand Down