-
Notifications
You must be signed in to change notification settings - Fork 95
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
Benedict throws "unexpected keyword argument 'keypath_separator'" #230
Comments
@adacable I couldn't reproduce the error but for what it's worth, we are moving away from benedict. import datetime
import earthaccess
search_period = datetime.timedelta(days=20)
start_date = datetime.datetime.now() - search_period - datetime.timedelta(days=1)
end_date = datetime.datetime.now() - datetime.timedelta(days=1)
Query = earthaccess.collection_query()
Query.keyword('SAR').temporal(start_date.strftime('%Y-%m-%d'),end_date.strftime('%Y-%m-%d'))
print(f'Collections found: {Query.hits()}')
collections = Query.fields(['ShortName','version']).get()
collections And here are some of the results: [{
"meta": {
"concept-id": "C1214353986-ASF",
"granule-count": 0,
"provider-id": "ASF"
},
"umm": {
"ShortName": "UAVSAR_POL_META"
}
},
{
"meta": {
"concept-id": "C1214336045-ASF",
"granule-count": 0,
"provider-id": "ASF"
},
"umm": {
"ShortName": "UAVSAR_INSAR_INT"
}
},
{
"meta": {
"concept-id": "C1214336717-ASF",
"granule-count": 0,
"provider-id": "ASF"
},
"umm": {
"ShortName": "UAVSAR_INSAR_META"
}
},
{
"meta": {
"concept-id": "C1214335430-ASF",
"granule-count": 0,
"provider-id": "ASF"
},
"umm": {
"ShortName": "UAVSAR_INSAR_AMP"
}
}] Can you try installing the library from source and see if this keeps happening? pip install git+https://github.com/nsidc/earthaccess.git@main also note that in order to download the granules (or opening them) we need an account with NASA Earthdata and another line with earthdata.login() |
We are hitting this issue too, and installing from the main works. Maybe you could make a new release? 🙏 |
this was fixed on the last release, closing it! |
This was a clean install, using the tutorial as a base.
Google isn't giving me anything, I'm wondering if a dependancy has moved somewhere?
This throws the error:
here's the full dependancy tree:
The text was updated successfully, but these errors were encountered: