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

resampling artifacts #350

Open
jdries opened this issue Nov 27, 2024 · 0 comments
Open

resampling artifacts #350

jdries opened this issue Nov 27, 2024 · 0 comments

Comments

@jdries
Copy link
Contributor

jdries commented Nov 27, 2024

There's a remaining issue with resampling using specific methods such as average or mode.
It will occur when loading from geotiff, or from already loaded geotiff, so via the Geotrellis based resampling code.

It is however not consistent for every spatial extent: in most cases there's no clear problem. I included a process graph and screenshot showing where it does occur.

The issue only became visible after fixing the actual overall resampling problem:
#303

Image

{
  "process_graph": {
    "loadco1": {
      "arguments": {
        "bands": [
          "B02"
        ],
        "id": "TERRASCOPE_S2_TOC_V2",
        "spatial_extent": {
          "east": 4.204268039667885,
          "north": 51.50071325632862,
          "south": 51.39186405142706,
          "west": 3.8652134883323654
        },
        "temporal_extent": [
          "2024-09-21",
          "2024-09-22"
        ]
      },
      "process_id": "load_collection"
    },
    "resample1": {
      "arguments": {
        "data": {
          "from_node": "loadco1"
        },
        "method": "average",
        "resolution": 100
      },
      "process_id": "resample_spatial"
    },
    "savere1": {
      "arguments": {
        "data": {
          "from_node": "resample1"
        },
        "format": "GTIFF"
      },
      "process_id": "save_result",
      "result": true
    }
  }
}
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

No branches or pull requests

1 participant