Skip to content

Fix nrt time units calendar#199

Merged
trey-stafford merged 2 commits intosupport-amsr2-0802from
fix-nrt-time-units-calendar
Sep 23, 2025
Merged

Fix nrt time units calendar#199
trey-stafford merged 2 commits intosupport-amsr2-0802from
fix-nrt-time-units-calendar

Conversation

@trey-stafford
Copy link
Contributor

@trey-stafford trey-stafford commented Sep 23, 2025

BUGFIX: time variable in published G10016 daily files now has units
attribute of "days since 1970-01-01" and sets the calendar attribute to
"standard". This resolves an issue where the units attr was dependent on the
file creation date and the calendar attribute showed
"proleptic_gregorian". This ensures consistency between G10016 and G02202
daily output files.

Now the function sets the `time` parameter to have consistent units and
calendar. Also Removes the FillValue from coordinate variables. This ensures
that the daily outputs for both G10016 and G02202 are consistent

Fixes an observed bug where the `time` variable has:
* `units` attr that are based on the day of file creation
* `calendar` attr that shows "proleptic_gregorian".
@trey-stafford trey-stafford merged commit 84348f5 into support-amsr2-0802 Sep 23, 2025
1 check passed
@trey-stafford trey-stafford deleted the fix-nrt-time-units-calendar branch September 23, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant