Conversation
… test-schema-org
…to thredds_harvest
marqh
left a comment
There was a problem hiding this comment.
there are some dependencies listed here that don't appear to be used.
i'd like to avoid urllib3 and focus url interactions on requests, for example
please confirm whether these dependencies are needed
| pydap | ||
| requests-futures | ||
| owslib | ||
| urllib3 |
There was a problem hiding this comment.
this dependency doesn't appear to be used anywhere
There was a problem hiding this comment.
threddsnc2rdf.py uses the urljoin/split/parse functions of urllib3/urllib.
nc2rdf/requirements.txt
Outdated
| requests-futures | ||
| owslib | ||
| urllib3 | ||
| python-dateutil |
There was a problem hiding this comment.
this dependency doesn't appear to be used anywhere
There was a problem hiding this comment.
the code used to use the parser function. seems like it doesn't now. it can go.
nc2rdf/requirements.txt
Outdated
| @@ -0,0 +1,6 @@ | |||
| lxml | |||
| pydap | |||
| requests-futures | |||
There was a problem hiding this comment.
this dependency doesn't appear to be used anywhere
There was a problem hiding this comment.
requests-futures could probably go
This PR features a tool called threddsnc2rdf.py.
threddsnc2rdf.py provides the ability to pass in a THREDDS or THREDDS catalog endpoint to then crawl any netCDF file and output BALD RDF or Schema.org json-ld descriptions .
Examples:
Example BALD RDF output
Example schema.org output