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

Temporal search not working for file search #36

Open
mauzey1 opened this issue Jan 14, 2021 · 0 comments
Open

Temporal search not working for file search #36

mauzey1 opened this issue Jan 14, 2021 · 0 comments

Comments

@mauzey1
Copy link
Contributor

mauzey1 commented Jan 14, 2021

The temporal search for the wget API using the parameters start and end don't seem to work. In fact, the parameters don't seem to work correctly for esg-search. I implemented these parameters according to their behavior described in the ESGF search API document.

The following query will return results where datetime_start is less than 2000-01-01T00:00:00Z.
https://esgf-node.llnl.gov/esg-search/search?end=2000-01-01T00:00:00Z

However, using the wget API will result in no files being found.
https://esgf-node.llnl.gov/esg-search/wget?end=2000-01-01T00:00:00Z

I think the reason it doesn't work is due to the datetime_start and datetime_stop facets not being found for the file database.
https://esgf-node.llnl.gov/esg-search/search?limit=10&type=File&project=CMIP6

The start and end parameters will either need to be removed from the wget API, or the search will need to combine the dataset and file databases. This might be accomplished using a join query parser.

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