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

Problem in downloading albedo data #122

Closed
usmansall opened this issue Apr 6, 2018 · 5 comments
Closed

Problem in downloading albedo data #122

usmansall opened this issue Apr 6, 2018 · 5 comments

Comments

@usmansall
Copy link

Dear MODIStsp developers,
I want to download MODIS albedo data version 5 and 6 but unable to download using your package. I know MODIS is going to decommission version 5 data but I was also unable to download version 6 data using your package. Is there any update regarding this issue? Please let me know as I am a bit worried if there is a severe issue?

The operating system is windows 10 and R studio Version 1.0.143 – © 2009-2016 RStudio, Inc. and R version 3.4.3 (2017-11-30).
The albedo product is BRDF_Alb_WSA_B1_Daily_30ArcSec(MCD43D52) version 6 and nothing appear in the output spatial extent windows! to further proceed. thanks

Cheers!
Usman

@lbusett
Copy link
Contributor

lbusett commented Apr 6, 2018

Hi.

Sorry, what do you mean by "nothing appear in the output spatial extent windows!"

Also, did you install the package from CRAN or from GitHub?

Lorenzo

@usmansall
Copy link
Author

usmansall commented Apr 6, 2018 via email

@lbusett
Copy link
Contributor

lbusett commented Apr 6, 2018

Ok, thanks for the clarification. I see where the problem is and will have a fix out soon.

lbusett added a commit that referenced this issue Apr 6, 2018
Partially solves #122 by setting automatically the extent for 0.05 deg. products to -180 180 -90 90 and disabling tiles selection. Also "forces" reset of the extent on product/category changes
TODO: See if possible to avoid the GTK-CRITICAL messages (or at least hide them) .
@lbusett
Copy link
Contributor

lbusett commented Apr 6, 2018

Hi,

I have a partial fix for this. Can you try installing this branch ?

library(devtools)
install_github("lbusett/MODIStsp", ref = "hotfix/mcdproducts_extent")

and see if you manage to work with the albedo data ? Keep in mind that the product you are trying to access does not have tiles (i.e., only one file covering the whole globe is provided). Therefore, please do not try to use the tiles selector. You can select output extent using the bounding box or the (new) map selector.

Let me know if it works

Lorenzo

@usmansall
Copy link
Author

usmansall commented Apr 6, 2018 via email

@lbusett lbusett closed this as completed Apr 7, 2018
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

2 participants