mintproject / mint-ui-lit

New version of the MINT-UI
Apache License 2.0
4 stars 0 forks source link

HAND and MODFlow don't show in regions in Texas #324

Closed dgarijo closed 4 years ago

dgarijo commented 4 years ago

These are filtered out due to an error in the API. Related to https://github.com/KnowledgeCaptureAndDiscovery/OBA_sparql/issues/6

mosoriob commented 4 years ago

The api has been fixed

~ ❯ curl https://api.models.mint.isi.edu/v1.4.0/regions/Travis\?username\=mint@isi.edu                                                                                    х INT
{
  "description": [
    "Travis (Texas)"
  ],
  "id": "https://w3id.org/okn/i/mint/Travis",
  "label": [
    "Travis"
  ],
  "partOf": [
    {
      "id": "https://w3id.org/okn/i/mint/Texas",
      "label": [
        "Texas (USA)"
      ],
      "type": [
        "Region"
      ]
    }
  ],
  "type": [
    "Region"
  ]
}
~ ❯ curl https://api.models.mint.isi.edu/v1.4.0/regions/Texas\?username\=mint@isi.edu
{
  "description": [
    "Texas is the second largest state in the United States by area (after Alaska) and population (after California). Located in the South Central region, Texas shares borders with the states of Louisiana to the east, Arkansas to the northeast, Oklahoma to the north, New Mexico to the west, and the Mexican states of Chihuahua, Coahuila, Nuevo Leon, and Tamaulipas to the southwest, and has a coastline with the Gulf of Mexico to the southeast."
  ],
  "geo": [
    {
      "id": "https://w3id.org/okn/i/mint/Texas_Shape",
      "label": [
        "Bounding box for Texas region"
      ],
      "type": "GeoShape"
    }
  ],
  "id": "https://w3id.org/okn/i/mint/Texas",
  "label": [
    "Texas (USA)"
  ],
  "partOf": [
    {
      "id": "https://w3id.org/okn/i/mint/United_States",
      "label": [
        "United States of America"
      ],
      "type": [
        "Region"
      ]
    }
  ],
  "type": [
    "Region"
  ]
}
mosoriob commented 4 years ago

I cannot see the models

https://mint.isi.edu/texas/regions/hydrology

image
dgarijo commented 4 years ago

Maybe @hvarg can tell us more