Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Kurt Schwehr
    @schwehr
    @duckontheweb Thanks for PRs! very much appreciated.
    1 reply
    Jon Duckworth
    @duckontheweb
    @lossyrob @matthewhanson @gadomski I’m putting together the v1.3.0 release PR for PySTAC now. I’ll tag the 3 of you for reviews on that and then release once everything is approved and merged.
    1 reply
    Jon Duckworth
    @duckontheweb
    PySTAC v1.3.0 is out on PyPi!
    https://pypi.org/project/pystac/1.3.0/
    I’ll tweet this out tomorrow morning.
    3 replies
    Fabrice Brito
    @fabricebrito
    hello! we deployed stac-fastapi 2.3.0 with pgstac 0.4.3 and we don't get the same /conformances and MS PC or the /docs swagger. With relation to the deployment 2.2.0/0.3.4, we can no longer filter with cql-json.
    3 replies
    Any clue is really appreciated
    LucaChiavarini
    @LucaChiavarini
    Hi!
    I have successfully created a STAC catalog for only 1 file with "rio stac" from my s3 bucket.
    Now I need to create a collection for a lot of file that I have on my s3 bucket. How can I do it? Do you think that I have to use another "STAC catalog creator" instead of rio stac?
    Thank you in advance!
    5 replies
    Pete Gadomski
    @gadomski
    @duckontheweb i'd be interested in the pystac discussion if you don't mind adding me to the invite
    6 replies
    Amountain
    @aijunchen
    Log in to Gitter for the first time.
    Pete Gadomski
    @gadomski
    Jon Duckworth
    @duckontheweb
    :confetti_ball: :fireworks:
    Jon Duckworth
    @duckontheweb
    PySTAC 1.4.0 is out on PyPi: https://pypi.org/project/pystac/1.4.0/! Thanks to everyone who contributed or reviewed PRs as part of this release. I’ll post to Twitter on Monday morning to get a bit more visibility.
    iliion
    @iliion
    quick question.
    looking to implent a stac api on an existing catalog (based on stac browser --> https://github.com/radiantearth/stac-browser) . Any reccomendations?
    Kurt Schwehr
    @schwehr
    Anyone have experience using JSONPath with STAC? I've done a little bit now and it's been pretty easy for a few things that I've tried. It's yet another query language in the ecosystem, but it's easy to add and use (we'll, I've use xpath a bunch and it's similar)
    3 replies
    Phil Varner
    @philvarner
    (this is a new implementation, not based on the CEDA one)
    Stanley George
    @stanley29_gitlab
    Hi All,
    I am new to Pystac and trying get used to it...
    While trying to run the tutorial on https://pystac.readthedocs.io/en/stable/tutorials/creating-a-landsat-stac.html , I am getting an HTTP 404 error when trying to get the landsat data (as in the code-block 2).
    Is there something more I need to do - like provide AWS credentials (I dont have one yet !!) ?
    2 replies
    Phil Varner
    @philvarner
    no, that's a public URL, but I think the url is wrong
    The landsat pds docs say
    A gzipped csv describing all available scenes is available at
    
    s3://landsat-pds/scene_list.gz
    
    or
    
    https://landsat-pds.s3.amazonaws.com/c1/L8/scene_list.gz
    but those are equivalent s3/http urls
    https://landsat-pds.s3.amazonaws.com/scene_list.gz works, through I don't know if it's just the c1/L8 scenes or others (or maybe that's all they are)
    anyway, try that url and see if works
    Stanley George
    @stanley29_gitlab

    https://landsat-pds.s3.amazonaws.com/scene_list.gz works, through I don't know if it's just the c1/L8 scenes or others (or maybe that's all they are)

    Yes. I am able to access this data but the format seems to be a bit different. One major thing I notice is that the field 'ProductId ' is missing.

    Matthew Hanson
    @matthewhanson
    Note that the Landsat PDS data is Collection 1, and should be getting deleted at some point (actually thought it was to be deleted last year). For Landsat data you’ll want the new official Landsat data, see this STAC API: https://landsatlook.usgs.gov/stac-server
    Pete Gadomski
    @gadomski
    there's an increasing number of people, from a variety of projects, using the same stactools packages (github.com/stactools-packages/). in order to make sure we're serving everyone's needs while provding a stable, useful software+metadata baseline for folks' use, i've created an RFC that defines the public API for stactools-packages: https://github.com/radiantearth/stac-spec/discussions/1176. comments/suggestions/advancements welcome.
    Phil Varner
    @philvarner
    Is there any opposition to (in general) starting to drop python 3.7 support from the STAC python ecosystem?
    9 replies
    Stanley George
    @stanley29_gitlab
    Is there anyway to create a custom EO Band apart from the one's specified at https://github.com/stac-extensions/eo#common-band-names . For e.g., we are doing imaging at 9.3-10.3 µm range.
    1 reply
    Pete Gadomski
    @gadomski
    stactools v0.3.1 is out: https://github.com/stac-utils/stactools/releases/tag/v0.3.1, https://pypi.org/project/stactools/0.3.1/. new features: progressive output for stac info and more extensive documentation at https://stactools.readthedocs.io/en/latest/
    3 replies
    Ralf Wohlfahrt
    @McSurf84
    Hi all,
    has anyone ever tried using stac-fastapi (sqlalchemy) to subordinate collections to a collection? Or is this not possible at all? I´m not sure how to create the parent-child relation between collections.
    3 replies
    Phil Varner
    @philvarner

    pystac-client 0.4.0 is released! https://github.com/stac-utils/pystac-client/releases/tag/v0.4.0

    Nothing earth-shattering in this release, just a ton of refinements and bug fixes.

    One of the biggest deprecations are the ItemSearch methods get_all_items() and get_all_items_as_dict(), which on search with no filters would attempt to load every item available from the API in memory, which could be bad :) Preferred instead is to use the items() and item_collections() methods (renamed from get_items() and get_item_collections()) that allow iteration over either Items or ItemCollections, and retrieve pages of these from the API on-demand, hidden from the caller
    Phil Varner
    @philvarner
    Kurt Schwehr
    @schwehr
    If I were to suggest to python users how to do searches on a non-local static STAC catalog where there isn't a STAC API, what do folks think I should be recommending. I've mostly just been using roll my own code since I'm not talking http. My specific case is https://storage.googleapis.com/earthengine-stac/catalog/catalog.json, but this is also a general question for the many static catalogs out there.
    1 reply
    Jon Duckworth
    @duckontheweb
    Does anyone know if there are plans to cut a new stac-fastapi release anytime soon? I'm standing up a STAC API right now and given that there are changes in the way pgstac partitions tables from 0.4 to 0.5 I would like to start with the latest version. I can install from main, but I'd rather do it from a release if possible.
    Matthias Mohr
    @m-mohr

    I'm trying to use the DataCube extension in PySTAC, but I'm struggling:

            asset = Asset.from_dict({...})
            item.add_asset("netcdf", asset)
            dc = DatacubeExtension.ext(asset, add_if_missing=True)
            for key, dim in dataset.dimensions.items():
                dc.dimensions[dim.name] = AdditionalDimension({...})
            for key, var in dataset.variables.items():
                dc.variables[var.name] = Variable({...})

    I'm getting: <AssetDatacubeExtension Item id=tests/data-files/OR_GLM-L2-LCFA_G16_s20203662359400_e20210010000004_c20210010000030.nc> does not have required property cube:dimensions

    How is it meant to be used?

    1 reply
    Matthias Mohr
    @m-mohr
    I can just add the "cube:dimensions" directly to the dict in the first line, but that's probably not the intended way...
    Abhishek Manandhar
    @abheeman_twitter
    Hi all, a question about stac-fastapi. Is there performance benchmarks while using pgstac vs sqlalchemy?
    Jon Duckworth
    @duckontheweb
    PySTAC v1.5.0 has been released on PyPi (conda package should follow later today)! https://pypi.org/project/pystac/1.5.0/
    We will be following up with a 1.6.0 release that removes support for Python 3.7 in the near future.
    Jon Duckworth
    @duckontheweb
    ...and PySTAC v1.6.0 has now also been released dropping support for Python 3.7: https://pypi.org/project/pystac/1.6.0/
    Jon Duckworth
    @duckontheweb
    ...and PySTAC v1.6.1 has been released. This bumps the jsonschema requirement to >=4.0.1 to avoid a RefResolutionError that was coming up when validation the Processing Extension.
    Pete Gadomski
    @gadomski

    stactools v0.4.0 has been released: https://github.com/stac-utils/stactools/releases/tag/v0.4.0, https://pypi.org/project/stactools/0.4.0/.

    Notable features include stac update-geometry, which uses the data footprint of a raster to update an item’s geometry, and stac add-asset, which adds an asset to an item. See the CHANGELOG for a complete listing

    This release also included a new conda package, which will be updated soon: https://anaconda.org/conda-forge/stactools

    1 reply
    Pete Gadomski
    @gadomski
    hey folks, if you’re at FOSS4G I added a section for the Python STAC ecosystem to the wiki: https://wiki.osgeo.org/wiki/FOSS4G_2022/Community_sprint#pystac-client_.28and_stactools.2C_and_pystac.29.
    Joachim Ungar
    @ungarj
    hi everybody! just following up on yesterdays BoF meeting in florence. unfortunately, i won't be here anymore for tomorrows community sprint but
    wish you a successful sprint!
    Pete Gadomski
    @gadomski

    pystac-client v0.5.0 is out: https://github.com/stac-utils/pystac-client/releases/tag/v0.5.0, https://pypi.org/project/pystac-client/0.5.0/

    big changes:

    many thanks to @TomAugspurger for the bulk of work in this release. see https://github.com/stac-utils/pystac-client/milestone/8 for issues currently planned for the next release v0.6.0, and be on the lookout for a scheduling poll in the next week or two to triage issues for v0.6.0 and begin planning towards a v1 release

    Pete Gadomski
    @gadomski
    just released stactools v0.4.2. includes a bugfix for create-item and adds multiband raster support to raster footprint generation: https://pypi.org/project/stactools/0.4.2/, https://github.com/stac-utils/stactools/releases/tag/v0.4.2
    Pete Gadomski
    @gadomski
    pystac-client v0.5.1 release: https://pypi.org/project/pystac-client/0.5.1/, https://github.com/stac-utils/pystac-client/releases/tag/v0.5.1.
    • adds ItemSearch.url_with_parameters
    • fixes writing w/ the pystac-client StacIO
    Alex
    @wildintellect
    FYI @matthewhanson looks like I'll be starting with Copernicus GLO30 DEM as a new stactools recipe for AWS. cc: @gadomski Open to name suggestions for the new repo (going to see if multiple GLO products will be in 1 repo)
    4 replies