mintproject / mint-ui-lit

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

ModelCatalog - Adding the format of a dataset seems not useful. #547

Open mosoriob opened 2 years ago

mosoriob commented 2 years ago

Is your feature request related to a problem? Please describe.

The format field is free-form text.

For example, I'm registering the NetCDF file what it's the correct value NetCDF, nc or .nc

Can be a selection of options as the variable presentation?

Additional context

Format:

image

Variable presentations?

image

hvarg commented 2 years ago

Should be the file extension, in this case nc (without the dot).

However, looking this query:

WHERE {
  ?ds a <https://w3id.org/okn/o/sd#DatasetSpecification> .
  ?ds <https://w3id.org/okn/o/sd#hasFormat> ?f
} 

I see several values that does not seem like file extensions.

I can change it to a select box, but we need to create a list of allowed extensions.