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

Sanitize site codes to follow ODM 1.1.1 conventions? #226

Open
emiliom opened this issue Feb 23, 2018 · 0 comments
Open

Sanitize site codes to follow ODM 1.1.1 conventions? #226

emiliom opened this issue Feb 23, 2018 · 0 comments

Comments

@emiliom
Copy link
Member

emiliom commented Feb 23, 2018

Should WOFpy sanitize site codes from source data and handle (advertise and accept) only the sanitized versions in its service endpoints?

This potential need came up in #219, in the context of the Luquillo CZO ODM2 instance, its WOFpy implementation, and registration of that endpoint with the CUAHSI water data services. Copying statements from Martin Seul (CUAHSI) and @miguelcleon:

It seems you have spaces in the sitecode, could you remove them as this seems to create a problem for the harvesting, I’ll see on our end as well if we can mitigate this. In odm 1.1.1 allows sitecode in the range of AZ (case insensitive) , 0-9, and “.”, “-“, and “_”.
https://www.cuahsi.org/uploads/pages/img/ODM1.1DesignSpecifications_.pdf

Perhaps WOFpy should replace spaces in the sitecode with dashes or underscores.

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