gee-community / pytest-gee

The pytest plugin for your gee package 🌍
https://pytest-gee.readthedocs.io/
MIT License
3 stars 1 forks source link

cannot create ImageCollection assets #27

Closed 12rambau closed 4 months ago

12rambau commented 4 months ago

The Image Collection asset behave like a folder in the GEE realm and thus cannot be created the same way as an Image or an Image Collection.

folder-like structure should specify thei type upon creation to allow diifferent type of outputs.

Something like:

{
  "folder:folder": {
    "image": ee.Image(1).clipToBoundsAndScale(point.buffer(100), scale=30),
    "fc": ee.FeatureCollection(point),
  },
  "ic:image_collection": {
    "image1": ee.Image(1).clipToBoundsAndScale(point.buffer(100), scale=30),
    "image2": ee.Image(1).clipToBoundsAndScale(point.buffer(100), scale=30)
  }
}