Examples of querying the CSDMS model repository: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
| [http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=%5B%5BLast+name::Hutton%5D%5D%7C?DOI+model%7C?Source+web+address&format=jsonfm <nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Last+name::Hutton]]|?DOI+model|?Source+web+address&format=jsonfm</nowiki>] | | [http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=%5B%5BLast+name::Hutton%5D%5D%7C?DOI+model%7C?Source+web+address&format=jsonfm <nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Last+name::Hutton]]|?DOI+model|?Source+web+address&format=jsonfm</nowiki>] | ||
|- | |- | ||
| List all models (Category technique) | | List all models (Category technique) '''depreciated''' | ||
| [http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=%5B%5BCategory:Terrestrial%7C%7CCoastal%7C%7CMarine%7C%7CHydrology%7C%7CCarbonates%5Fand%5FBiogenics%7C%7CClimate%5D%5D%7Climit=10000&format=jsonfm <nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Category:Terrestrial||Coastal||Marine||Hydrology||Carbonates and Biogenics||Climate]]|limit=10000&format=jsonfm</nowiki>] | | [http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=%5B%5BCategory:Terrestrial%7C%7CCoastal%7C%7CMarine%7C%7CHydrology%7C%7CCarbonates%5Fand%5FBiogenics%7C%7CClimate%5D%5D%7Climit=10000&format=jsonfm <nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Category:Terrestrial||Coastal||Marine||Hydrology||Carbonates and Biogenics||Climate]]|limit=10000&format=jsonfm</nowiki>] | ||
|} | |} | ||
Python examples of these queries (and others) can be found in the GitHub repository https://github.com/csdms/ask-api-examples. | Python examples of these queries (and others) can be found in the GitHub repository https://github.com/csdms/ask-api-examples. |
Revision as of 10:27, 15 June 2017
Here are some examples of queries into the CSDMS model repository.
Python examples of these queries (and others) can be found in the GitHub repository https://github.com/csdms/ask-api-examples.