Coder Social home page Coder Social logo

Evaluate stactools about ukis-pysat HOT 5 CLOSED

fwfichtner avatar fwfichtner commented on July 26, 2024
Evaluate stactools

from ukis-pysat.

Comments (5)

jonas-eberle avatar jonas-eberle commented on July 26, 2024 1

I would recommend the use of stactools especially for creating STAC metadata for specific missions (e.g., Sentinel-2, Landsat). This can ensure that different data providers serve the same set of metadata with the same property names.

I foresee the use of stactools in the DLR HPDA terrabyte infrastructure to create STAC metadata for Sentinel-2, Landsat, Sentinel-1 (does not yet exists for the .SAFE-files from ESA), and hopefully others as well (e.g., MODIS).

By the way: stactools is not only a command line tool. You can use it within Python as well.

from ukis-pysat.

jonas-eberle avatar jonas-eberle commented on July 26, 2024 1

@fwfichtner I have used it for Sentinel-2 L2A data (still needs some bug fixing stactools-packages/sentinel2#5). We have also worked towards the creation of STAC for Sentinel-1 (GRD/SLC) data (we have a script nearly ready but not yet put into the stactools structure).

I also plan to extend the Sentinel-2 stactools package to support L1C as well.

from ukis-pysat.

shiwakotisurendra avatar shiwakotisurendra commented on July 26, 2024

I explored through the stactools documentation and references and here is my summary of what i found.
stactools is a command line tool for utilizing STAC and is based on Pystac. stactools.core package has methods of copying and merging catalogs in STAC.
a) assets in a catalogs can be copied or moved from one subdirectory to another subdirectory .
stactools.core.copy.move_all_assets(catalog, asset subdirectory=None, make_hrefs_relative=True, copy=False, ignore_conflicts=False )

b) it can be used to merge the assets from source_item into target_item .The geometry and bounding box of the items are also merged.
stactools.core.merge.merge_items(source_item, target_item, move_assets=False, ignore_conflicts=False)

c) it can also be used to modify the layout of the STAC like generating subcatalogs based on item properties or creating subdirectories to organize item properties.
stactools.core.layout.layout_catalog(catalog, item_path_template, create_subcatalogs=False, remove_existing_subcatalogs=False, move_assets=False)

d) stac info andstac describe display information about STACs.

e) stactools can provide methods to plug in functionality for different geospatial data sources which are included as stactools-subpackages . eg: stactools-aster , stactools-planet , stactools-sentinel2 , stactools-landsat

from ukis-pysat.

fwfichtner avatar fwfichtner commented on July 26, 2024

@jonas-eberle did you already start working on that?

from ukis-pysat.

fwfichtner avatar fwfichtner commented on July 26, 2024

We will try to follow best practices more in the future, also orientate more on what stactools does, etc. -> #155

from ukis-pysat.

Related Issues (20)

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.