Skip to content

Temporal interpolation warings are misleading in NRT processing #176

Description

@trey-stafford

When doing 1-sidded temporal interpolation, the code produces a bunch of warnings about there not being future data. E.g.,:

ecdr daily-nrt --last-n-days 5 --hemisphere both --nrt-platform-id F17
Warning: Permanently added 'seaice_ecdr.apps.int.nsidc.org' (ECDSA) to the list of known hosts.
2024-11-07 16:29:37.358 | SUCCESS  | seaice_ecdr.nrt:nrt_ecdr_for_day:461 - Wrote complete daily NRT NC file: /share/apps/G10016_V3/v03r00/production/CDR/complete/north/daily/2024/sic_psn25_20241102_F17_icdr_v03r00.nc
2024-11-07 16:29:37.404 | SUCCESS  | seaice_ecdr.checksum:write_checksum_file:29 - Wrote checksum file /share/apps/G10016_V3/v03r00/production/CDR/complete/north/checksums/daily/2024/sic_psn25_20241102_F17_icdr_v03r00.nc.mnf
2024-11-07 16:29:38.183 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-04
2024-11-07 16:29:38.187 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-05
2024-11-07 16:29:38.191 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-06
2024-11-07 16:29:38.194 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-07
2024-11-07 16:29:38.198 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-08
2024-11-07 16:29:38.215 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-04
2024-11-07 16:29:38.219 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-05
2024-11-07 16:29:38.222 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-06
2024-11-07 16:29:38.225 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-07
2024-11-07 16:29:38.229 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-08
2024-11-07 16:29:38.236 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-04
2024-11-07 16:29:38.240 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-05
2024-11-07 16:29:38.243 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-06
2024-11-07 16:29:38.246 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-07
2024-11-07 16:29:38.250 | WARNING  | seaice_ecdr.temporal_composite_daily:temporally_composite_dataarray:295 - Setting next date array to all missing: 2024-11-08
2024-11-07 16:29:38.794 | SUCCESS  | seaice_ecdr.nrt:nrt_ecdr_for_day:461 - Wrote complete daily NRT NC file: /share/apps/G10016_V3/v03r00/production/CDR/complete/north/daily/2024/sic_psn25_20241103_F17_icdr_v03r00.nc
2024-11-07 16:29:38.805 | SUCCESS  | seaice_ecdr.checksum:write_checksum_file:29 - Wrote checksum file /share/apps/G10016_V3/v03r00/production/CDR/complete/north/checksums/daily/2024/sic_psn25_20241103_F17_icdr_v03r00.nc.mnf

This is a bit misleading because we never expect data data or the "next day". We should be able to conditionally raise this warning only when double-sided interpolation is being performed.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions