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

Exception in dardar_cloud when file for specific time step does not exist #99

Open
JuliaKukulies opened this issue May 31, 2021 · 0 comments

Comments

@JuliaKukulies
Copy link
Collaborator

JuliaKukulies commented May 31, 2021

When you want to download a specific date for DARDAR CLOUD from the ICARE server, an exception is raised when the file does not exist. Would be nicer to get a warning and download the file with the closest time to the desired time instead.

from pansat.products.satellite.dardar import dardar_cloud
from datetime import datetime

t_0 = datetime(2016, 11, 20, 0)
t_1 = datetime(2016, 12, 22, 0)

files_dardar = dardar_cloud.download(t_0, t_1)

-> Exception: Can't find product folder SPACEBORNE/MULTI_SENSOR/DARDAR_CLOUD/2016/2016_11_23on the ICARE ftp server. Are you sure this isa ICARE multi sensor product?

@JuliaKukulies JuliaKukulies changed the title Exception in dardar_cloud Exception in dardar_cloud when file for specific time step does not exist May 31, 2021
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