Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

free memory for data load #30

Description

@nilshempelmann

There are cases, where the dataload for the memory is bigger the the available memory.
For that the data can't be processed in one block. Ocgis provides calculation in chunks (chunk size needs to be determined as well) to be switched on in case of potential memory overload.

Two parts of the problem:

  1. check available memory:
    existing function to be optimized: utils.FreeMemory()
  2. check dataload for the process:
    There is a get_base_request_size and "large_array.compute" in ocgis on operations which should be revisited. There can be metadata on the calculations themselves used for defining the decompositions:

check dataload is tricky, when the process includes:

  • polygon subset
  • icclim computation
  • remapping
  • ... etc ?

test standalone script is here:
https://github.com/bird-house/flyingpigeon/blob/next/scripts/ocgis_freememory.py

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions