Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define hazard's semantic types #302

Open
longshuicy opened this issue Jul 16, 2024 · 1 comment
Open

Define hazard's semantic types #302

longshuicy opened this issue Jul 16, 2024 · 1 comment

Comments

@longshuicy
Copy link
Member

Hazard datasets have semantic types. Need to proper register them in the semantics database.

    public static final String PROBABILISTIC_EARTHQUAKE_HAZARD_SCHEMA = "ergo:probabilisticEarthquakeRaster";
    public static final String DETERMINISTIC_EARTHQUAKE_HAZARD_SCHEMA = "ergo:deterministicEarthquakeRaster";
    public static final String PROBABILISTIC_TSUNAMI_HAZARD_SCHEMA = "incore:probabilisticTsunamiRaster";
    public static final String DETERMINISTIC_TSUNAMI_HAZARD_SCHEMA = "incore:deterministicTsunamiRaster";
    public static final String PROBABILISTIC_HURRICANE_HAZARD_SCHEMA = "incore:probabilisticHurricaneRaster";
    public static final String DETERMINISTIC_HURRICANE_HAZARD_SCHEMA = "incore:deterministicHurricaneRaster";
    public static final String HURRICANE_GRID_SNAPSHOT_HAZARD_SCHEMA = "incore:hurricaneGridSnapshot";
    public static final String TORNADO_WINDFIELD_SCHEMA = "incore:tornadoWindfield";
    public static final String DETERMINISTIC_FLOOD_HAZARD_SCHEMA = "incore:deterministicFloodRaster";
    public static final String PROBABILISTIC_FLOOD_HAZARD_SCHEMA = "incore:probabilisticFloodRaster";

Since they are not tabular, for now we just list the description, title and a few necessary fields
example:

{
    "dc:description": "Probabilistic Earthquake Raster",
    "dc:title": "ergo:probabilisticEarthquakeRaster",
    "openvocab:versionnumber": "1",
    "id": "666a052ae08a630fa4d48db1",
    "@context": [
        "https://www.w3.org/ns/csvw#",
        {
            "@language": "en",
            "dc": "https://purl.org/dc/terms/",
            "gml": "https://schemas.opengis.net/gml/",
            "wfs": "https://schemas.opengis.net/wfs/1.1.0/wfs.xsd",
            "xlink": "https://www.w3.org/1999/xlink/",
            "xsd": "https://www.w3.org/2001/XMLSchema#",
            "qudt": "https://qudt.org/schema/qudt/",
            "unit": "https://qudt.org/vocab/unit/",
            "openvocab": "https://vocab.org/open/",
            "rdf": "https://www.w3.org/1999/02/22-rdf-syntax-ns#",
            "rdfs": "https://www.w3.org/2000/01/rdf-schema#",
            "dcat": "https://www.w3.org/ns/dcat#",
            "prov": "https://www.w3.org/ns/prov#"
        }
    ],
    "dc:license": {
        "@id": "http://opendefinition.org/licenses/cc-by/"
    },
    "url": "ergo:probabilisticEarthquakeRaster"
}
@longshuicy
Copy link
Member Author

Also need backward checking if any existing raster types are starting with "ncsa:"; change them back accordingly.
This needs a script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant