Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

fmask output files are not in COG format #15

Description

@Kirill888

See output of rio info command below.

Note "tiled": false, COGs ought to be tiled. Also nodata=0 is not ideal, I would consider value 0 as valid data -- classified by fmask as "unassigned", I would suggest 255 as nodata value.

rio info --indent 1 s3://datahub-level2/AODH/level2/1991-06-02/LT50890801991153ASA00/QA/LT50890801991153ASA00_FMASK.TIF
{
 "bounds": [
  366885.0,
  -3296415.0,
  603015.0,
  -3084885.0
 ],
 "colorinterp": [
  "palette"
 ],
 "compress": "deflate",
 "count": 1,
 "crs": "EPSG:32656",
 "descriptions": [
  "Layer_1"
 ],
 "driver": "GTiff",
 "dtype": "uint8",
 "height": 7051,
 "indexes": [
  1
 ],
 "interleave": "band",
 "lnglat": [
  152.84571445393462,
  -28.84343921394409
 ],
 "mask_flags": [
  [
   "nodata"
  ]
 ],
 "nodata": 0.0,
 "res": [
  30.0,
  30.0
 ],
 "shape": [
  7051,
  7871
 ],
 "tiled": false,
 "transform": [
  30.0,
  0.0,
  366885.0,
  0.0,
  -30.0,
  -3084885.0,
  0.0,
  0.0,
  1.0
 ],
 "units": [
  null
 ],
 "width": 7871
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions