WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[Bug]: nodata/_FillValue value is not being set in output products #139

@scottstanie

Description

@scottstanie

Checked for duplicates

Yes - I've already checked

Describe the bug

When plotting the static layers, I noticed that the empty region was 0s instead of nan like it is for the CSLCs.

What did you expect?

I expected

  1. the nodata to be nan like the CSLC, or
  2. to have it marked in the metadata

even if we change (1) to match, we should still mark it in all output files

Reproducible steps

(mapping) [staniewi@aurora gslcs]$ rio info --nodata NETCDF:t071_151204_iw1_20190704.h5:/science/SENTINEL1/CSLC/grids/VV

(mapping) [staniewi@aurora gslcs]$ rio info --nodata NETCDF:static_layers_t071_151204_iw1.h5:/science/SENTINEL1/CSLC/grids/static_layers/heading

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageIssue requires triage to proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions