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

unbalanced reading in some cdse jobs #319

Open
jdries opened this issue Sep 6, 2024 · 1 comment
Open

unbalanced reading in some cdse jobs #319

jdries opened this issue Sep 6, 2024 · 1 comment
Assignees

Comments

@jdries
Copy link
Contributor

jdries commented Sep 6, 2024

Some jobs have 2 very slow reading tasks, that seem to read much more chunks compared to the others. This is weird.

j-240906e4af744f2ca1bc08a0c9d2c666

Image

@jdries jdries self-assigned this Sep 6, 2024
@jdries
Copy link
Contributor Author

jdries commented Sep 6, 2024

It seems like this might be correct: the process graph looks like it tries to download 2 products covering a utm tile.
So it needs to retrieve all data for those tiles, and a few chunks for neighbouring ones.
The 'per product' reading strategy is a bit less optimal in this case.

{
  "process_graph": {
    "loadcollection1": {
      "process_id": "load_collection",
      "arguments": {
        "bands": [
          "B04",
          "B03",
          "B02",
          "B08"
        ],
        "id": "SENTINEL2_L2A",
        "properties": {
          "eo:cloud_cover": {
            "process_graph": {
              "lte1": {
                "process_id": "lte",
                "arguments": {
                  "x": {
                    "from_parameter": "value"
                  },
                  "y": 5
                },
                "result": true
              }
            }
          }
        },
        "spatial_extent": {
          "west": 1.7656944498199,
          "east": 3.120433646053401,
          "south": 42.35763630855867,
          "north": 43.352791985217806
        },
        "temporal_extent": [
          "2024-07-30T10:36:29Z",
          "2024-07-30T10:36:29Z"
        ]
      }
    },
    "resamplespatial1": {
      "process_id": "resample_spatial",
      "arguments": {
        "align": "upper-left",
        "data": {
          "from_node": "loadcollection1"
        },
        "method": "cubic",
        "projection": 4326,
        "resolution": 0
      }
    },
    "filterbands1": {
      "process_id": "filter_bands",
      "arguments": {
        "bands": [
          "B04",
          "B03",
          "B02"
        ],
        "data": {
          "from_node": "resamplespatial1"
        }
      }
    },
    "saveresult1": {
      "process_id": "save_result",
      "arguments": {
        "data": {
          "from_node": "filterbands1"
        },
        "format": "GTiff",
        "options": {}
      },
      "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