Comments (10)
Fixed thanks @RousseauLambertLP good catch!
from pygeometa.
Thanks @alexandreleroux. Questions:
- MCF version is a required value, so if it's missing it's an error
- how do we manage MCF versions? Suggest we support with pygeometa versions major versions
- what's the nature of the behaviour we're looking for? i.e.:
- pygeometa manages versions in an n-1 fashion, i.e. its current version and the previous major version?
- if a version is not supported do we throw error or warning and parse as best we can?
from pygeometa.
@tomkralidis good questions
- I confirm: if an MCF file doesn't state its version, then an error is provided
- Management of versions, when a new MCF version is created:
- the sample.yml should be updated accordingly
- pygeometa documentation should be updated accordingly
- pygeometa should be tested against this new MCF version
- if tests succeed, the next pygeometa release must support the new MCF version at the same time that the new MCF version specification is released
- if pygeometa is being ran against an MCF version that is not supported, I agree with throwing an error and trying to parse nonetheless
It's still unclear how MCF versions will evolve. Maybe it will be worth later on to have a script that automatically update MCF files from one version to the latest one. We'll see with usage.
Makes sense?
from pygeometa.
+1, will have something soon.
from pygeometa.
Implemented in #87. Documentation needs to be updated.
from pygeometa.
Looking at the code, mcf_versions is initialized twice (L154 and L224) and used only in line 226.
I think we could remove one of the line where it's initialized. I tested it without line 154 and it works fine.
from pygeometa.
I did a short version section in the MCF doc.
See:
https://github.com/RousseauLambertLP/pygeometa/blob/mcf-version-doc/doc/MCF_Reference.md#version
from pygeometa.
thanks @RousseauLambertLP , good work :-) Comments:
- typo: pygeometa doesn't have a capital P
- why do we state that pygeometa will support "previous major MCF versions"? I'm not certain we want that! :-)
- typo: sentence ends with a , instead of a .
from pygeometa.
I though from the previous comments that we wanted to support the previous (n-1) major version. We could removed it for now since we are at version 1...
from pygeometa.
Closing the issue, pygeometa validates MCF version and the doc was updated accordingly.
from pygeometa.
Related Issues (20)
- separate crs registration from resource extent HOT 1
- support spatial extent as description HOT 4
- roundtrip iso-mcf-iso lacks crs
- Add license restriction to iso19139 HOT 3
- Error in using Transform function to convert iso19139 to wmo-wcmp2 HOT 4
- owslib importer for ISO is missing the capture of some attributes during parsing HOT 3
- "AttributeError: 'dict' object has no attribute 'type'" when running pygeometa metadata import for iso19139 schema HOT 5
- Pygeometa Does Not Automatically Populate Extent Metadata for WCMP2 Record from MCF HOT 2
- contacts and distributions as array? HOT 1
- conversion of sample yaml to stac throws error HOT 1
- import metadata not activated on demo.pygeoapi.io
- Add support for importing QGIS qmd files HOT 2
- get schemas method on metadata processing plugin pygeoapi HOT 1
- check thesaurus import from iso19139 HOT 2
- alternate relations then parentidentifier
- add schema.org schema
- attributes and dimensions alignment vs featuretypes
- failing test test metadata import HOT 1
- stac generation fails if mcf has no 'pointofcontact'
- crs has no prefix?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygeometa.