r0w4n / edr_query_parser Goto Github PK
View Code? Open in Web Editor NEWThe OGC Environmental Data Retrieval API query parser makes it easy to parse and use the API query.
License: GNU General Public License v3.0
The OGC Environmental Data Retrieval API query parser makes it easy to parse and use the API query.
License: GNU General Public License v3.0
Given the URL https://somewhere.com/collections
has been parsed
When when the collection_name
property is accessed
Then ValueError('collection name not found in url')
is raised
>>> import edr_query_parser
>>> edr_query_parser.EDRQueryParser('https://somewhere.com/collections').collection_name
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/net/home/h05/jfrancis/LEELA/edr_query_parser/edr_query_parser/edr_query_parser.py", line 30, in collection_name
return self.url_parts[self.url_parts.index('collections') + 1]
IndexError: list index out of range
Thanks for Using Readable Readme
This report is auto-generated by readable-readme to help your team improve the quality of READMEs.
The regex to determine if a query is valid EDR expects path parameters after the collections
path parameter.
A valid EDR query to get high level metadata about a collection would not meet this regex:
`https://endpoint.com/mo_surface_observations/collections/
For discussion and understanding
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.