python-cmr
python-cmr copied to clipboard
add tools and services query class
- Add in tools and service cmr query classes to query umm-t and umm-s.
- Change the base query class to be more generic and created a GranuleCollectionBaseQuery and ToolServiceBaseQuery classes.
- Add in more parameters to query by provider, native id, and name.
- Made concept id query more generic for each classes.
- Added test cases for new tools query and service query classes.
@sliu008
This is great! I was able to checkout your PR and run the unit tests successfully.
Were you able to get live results after applying your changes? I've installed your PR changes locally but when I try doing:
import cmr
query = cmr.queries.ServiceQuery()
query.provider("POCLOUD").get_all()
I get back 0 results. Also, maybe a quick addition of examples to the readme would help