Giter Site home page Giter Site logo

cube-builder-aws's People

Contributors

betonr avatar dependabot[bot] avatar gqueiroz avatar raphaelrpl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cube-builder-aws's Issues

Release 0.8.0

Tasks:

  • Inform the right version in: cube-builder-aws/cube_builder_aws/version.py, spec/package*, cube-builder-aws/package*
  • Update spec if necessary
  • Create a branch named: b-0.8.
  • From the branch b-0.8, create a tag named: v-0.8.0.
  • Update documentation how-to
  • In the master branch increase version in cube-builder-aws/cube_builder_aws/version.py to 1.0.0
  • Notify users that a new version is released.

Prevent the creation of invalid data cube name

Currently, the body to save a data cube definition is the following:

{
    "datacube": "LC8_30_16D",
    "grs": "BDC_GRID",
    "resolution": 30,
    "temporal_schema": "A16day",
    "bands_quicklook": ["swir2", "nir", "red"],
    "bands": ["coastal","blue","green","red","nir","bnir","swir1","swir2","quality"],
    "description": "Landsat monthly",
    "license": "MIT"
}

However, it may result in invalid data cube name. The user should only send LC8 instead LC8_30_16D. It may result in creation of LC8_30_16D_MED with temporal schema Monthly.

In order to do that, you must add a field composite_function to allow only MED, STK or IDENTITY.

Release 0.2.0

Tasks:

  • Inform the right version in: cube-builder-aws/cube_builder_aws/version.py, spec/package*, cube-builder-aws/package*
  • Update spec if necessary
  • Review the CHANGES.rst.
  • Create a branch named: b-0.2.
  • From the branch b-0.2, create a tag named: v-0.2.0.
  • Update documentation how-to
  • In the master branch increase version in cube-builder-aws/cube_builder_aws/version.py to 0.4.0
  • Notify users that a new version is released.

Bug when dispatching data cube generation for multiple tiles

The following error occurs when start data cube with multiple tiles:

'CubeBusiness' object has no attribute 'params'
Traceback (most recent call last):  
File "/tmp/sls-py-req/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
File "/tmp/sls-py-req/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
File "/var/task/app.py", line 111, in start
    message, status = business.start_process(data)
File "/var/task/cube_builder_aws/business.py", line 231, in start_process
    cube_infos.raster_size_schemas.chunk_size_x, cube_infos.grs_schema.crs, params.get('force'))
File "/var/task/cube_builder_aws/maestro.py", line 182, in prepare_merge
    self.params['tileid'] = tileid
AttributeError: 'CubeBusiness' object has no attribute 'params'

Its seems related with maestro.py#182. When comment the if expression like that, it works.

    for tileid in self.score['items']:
        # if len(self.score['items']) != 1:
        #     self.params['tileid'] = tileid
        #     services.send_to_sqs(self.params)
        #     continue
        ...

However, it seems to be related with Lambda memory restriction. Maybe we need to increase the memory for several tiles.

add refresh in publish task

add code to update the asset_view in db

command:

from sqlalchemy_utils import refresh_materialized_view

refresh_materialized_view(db.session, AssetMV._table_)

frequency: when update assets table

Release 0.6.0

Tasks:

  • Inform the right version in: cube-builder-aws/cube_builder_aws/version.py, spec/package*, cube-builder-aws/package*
  • Update spec if necessary
  • Create a branch named: b-0.6.
  • From the branch b-0.6, create a tag named: v-0.6.0.
  • Update documentation how-to
  • In the master branch increase version in cube-builder-aws/cube_builder_aws/version.py to 0.8.0
  • Notify users that a new version is released.

Bug while update cube - Activity not found

Cannot update/reprocess a data cube due the following error:

There is no data cube activity

It seems related with dynamo table scan when providing Limit restriction.

Release 0.4.0

Tasks:

  • Inform the right version in: cube-builder-aws/cube_builder_aws/version.py, spec/package*, cube-builder-aws/package*
  • Update spec if necessary
  • Create a branch named: b-0.4.
  • From the branch b-0.4, create a tag named: v-0.4.0.
  • Update documentation how-to
  • In the master branch increase version in cube-builder-aws/cube_builder_aws/version.py to 0.6.0
  • Notify users that a new version is released.

create CNC band

update blend function to create CNC band
CNC (Count no cloud)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.