Giter Club home page Giter Club logo

public-collections's People

Contributors

aapopescu avatar achtsnits avatar aleksmat avatar alessandroscremin avatar alicebalfanz avatar ardweaden avatar chorng avatar developer1510 avatar dorothyron avatar dorothyrono avatar dthiex avatar eorlitova avatar forman avatar gmilcinski avatar guss84 avatar horvatdino avatar janjezersek avatar jonasviehweger avatar kampen1988 avatar lugeo17 avatar masaarnez avatar mperse avatar pontusberg avatar scartography avatar schpidi avatar sevcikp avatar thomasstorm avatar tomislijepcevic avatar zansinergise avatar zcernigoj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

public-collections's Issues

directly link sentinel license

We currently link the correct license for Sentinel collections indirectly

    {
      "href": "https://docs.sentinel-hub.com/api/latest/data/sentinel-1-grd/#attribution-and-use",
      "rel": "license",
      "type": "text/html",
      "title": "License"
    }

We got the request to link to the correct document directly. We should update the license for all Sentinel collections (S1-GRD, S2-L1C, S2-L2A, 3-SLSTR, 3-OLCI, S5P).

    {
      "href": "https://sentinels.copernicus.eu/documents/247904/690755/Sentinel_Data_Legal_Notice",
      "rel": "license",
      "type": "application/pdf",
      "title": "License"
    }

@jdries FYI

Search broken

The search seems to be entirely broken currently and returning way to many results.

Make changes to GHSL Urban Delineation

Hi @eorlitova
I noticed a few things that needs to be changed. Please make the changes and assign the pull request to me

apologies for taking you back

1. YAML file

The page is rendered here : https://collections.eurodatacube.com/ghsl-urban-delineation/

Sorry I missed this in the review;

  • Attribution
    License: "[Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). Attribution: Contains modified Copernicus Sentinel data (year) processed by Sentinel Hub"

I believe it is not processed by Sentinel Hub, is it ? if not please remove the attribution part

  • Link to pricing info is not found
    Pricing: Check [here](ghsl-urban-delineation/PRICING.MD) for more info about pricing and restrictions.

Please reference directly including the root url like this: [here](https://collections.eurodatacube.com/ghsl-urban-delineation/pricing.html)

2. README file

The page is rendered here https://collections.eurodatacube.com/ghsl-urban-delineation/readme.html

  • Pricing info not found
    Here again please reference directly including the root url like this: [Details in PRICING.MD](https://collections.eurodatacube.com/ghsl-urban-delineation/pricing.html)

  • Result images not properly formated
    You need to introduce break lines or similar for better formating
    here is my example code suggestion that gives a better result

### First hierarchical level 

<img src="ghsl-urban-delineation-level1-nomenclature.png" alt="level1 momenclature" width="50%"/> 

<br>
<br>
First hierarchical level - definition

<br>
<img src="ghsl-urban-delineation-level1-definition.png" alt="level1 definition" width="50%"/>

<br>
<br>
First hierarchical level - result

<br>
<img src="ghsl-urban-delineation-level1-result.png" alt="polygons - result at the first hierarchical level" width="50%"/>
<br>
<br>

### Second hierarchical level 

<img src="ghsl-urban-delineation-level2-nomenclature.png" alt="level2 momenclature" width="50%"/>

<br>
<br>
Second hierarchical level - definition

<br>
<img src="ghsl-urban-delineation-level2-definition.png" alt="level2 definition" width="50%"/>  

<br>
<br>
Second hierarchical level - result

<br>
<img src="ghsl-urban-delineation-level2-result.png" alt="polygons - result at the second hierarchical level" width="50%"/>
<br>

improve LicenseUrl build in json creation

Currently we create a LicenseUrl link object no matter weather LicenseUrl is defined in the yaml or not. This leads to an empty LicenseUrl as can be seen here: https://collections.eurodatacube.com/stac/tsmn_water_quality_saturday.json

We should only include this in the json if LicenseUrl is defined. Main difficulty here is to format the json correctly so that the comma before the LicenseUrl link object is placed if it's present and not if it's not.

Needs to be done here: https://github.com/eurodatacube/public-collections/blob/main/_build/stac.hbs

JSON endpoint lists empty ids

Provide a STAC Catalog

I've found the index of STAC collections here: https://collections.eurodatacube.com/stac/index.json Unfortunately it is not a valid STAC catalog and can therefore not be browsed with tools like STAC Browser.

A valid STAC catalog can be created with minimal effort, e.g.:

{
    "type": "Catalog",
    "stac_version": "1.0.0",
    "id": "eurodatacube-collections-catalog",
    "description": "A STAC catalog that contains all collections available on EuroDataCube.",
    "links": [
        {
            "href": "https://collections.eurodatacube.com/stac/index.json",
            "rel": "self"
        },
        {
            "href": "https://collections.eurodatacube.com/stac/index.json",
            "rel": "root"
        },
        {
            "id": "SENTINEL2_L2A_MOSAIC_120",
            "href": "https://collections.eurodatacube.com/stac/sentinel-s2-l2a-mosaic-120.json",
            "rel": "child"
        },
        ...
    ]
}

I think the relevant change would have to be made to this file:

[
{{#each datasets}}
{"id": "{{OpenEOPID}}", "link": "{{rootUrl}}stac/{{Slug}}.json"}{{#unless @last}},{{/unless}}
{{/each}}
]

Something along the lines of:

{
  "type": "Catalog",
  "stac_version": "1.0.0",
  "id": "eurodatacube-collections-catalog",
  "description": "A STAC catalog that contains all collections available on EuroDataCube.",
  "links": [
    {
      "href": "{{rootUrl}}stac/index.json",
      "rel": "self"
    },
    {
      "href": "{{rootUrl}}stac/index.json",
      "rel": "root"
    },
    {{#each datasets}}
      {"id": "{{OpenEOPID}}", "rel": "child", "href": "{{rootUrl}}stac/{{Slug}}.json"}{{#unless @last}},{{/unless}}
    {{/each}}
  ]
}

Add details about band data values to metadata

Add raster:bands object to collection metadata summaries.

Example for S2-L2A B01 band

What we would need to add to the yaml files (for each band).

  raster:bands:
    - name: B01
      data_type: float32
      statistics:
        minimum: 
          - 0
        maximum:
          - 0.4

How it will look rendered as json:

"summaries": {
    "raster:bands": [
      {
        "name": "B01",
        "data_type": "float32",
        "statistics": {"minimum": 0, "maximum": 0.4}
      },

Related resources:

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.