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

gedifinder() didn't work ! #65

Open
Prakash-Basnet opened this issue Sep 16, 2024 · 4 comments
Open

gedifinder() didn't work ! #65

Prakash-Basnet opened this issue Sep 16, 2024 · 4 comments

Comments

@Prakash-Basnet
Copy link

I ran the script provided in the tutorial, but it came NULL every time. Did I miss something?

Study area boundary box coordinates

ul_lat<- -44.0654
lr_lat<- -44.17246
ul_lon<- -13.76913
lr_lon<- -13.67646

Specifying the date range

daterange=c("2019-07-01","2020-05-22")

Get path to GEDI data

gedifinder(product="GEDI01_B",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL
gedifinder(product="GEDI02_A",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL
gedifinder(product="GEDI02_B",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL

@obata-shingo
Copy link

Prakash-Basnet,

I ran into the same problem as you mentioned. I changed coordinates, version, and daterange but the function keeps on returning NULL.

I ran the script provided in the tutorial, but it came NULL every time. Did I miss something?

Study area boundary box coordinates

ul_lat<- -44.0654
lr_lat<- -44.17246
ul_lon<- -13.76913
lr_lon<- -13.67646

Specifying the date range

daterange=c("2019-07-01","2020-05-22")

Get path to GEDI data

gedifinder(product="GEDI01_B",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL
gedifinder(product="GEDI02_A",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL
gedifinder(product="GEDI02_B",ul_lat, ul_lon, lr_lat, lr_lon,version="002",daterange=daterange)
NULL

@wxyang007
Copy link

Having the same issue here! Wondering if you've found a way to fix this? Thank you!

@wxyang007
Copy link

Hello, I think I've found a fix. The query ids have changed for some datasets. See this link for more info. So if you edit "concept_ids" in the "gedifinder" function you should be able to download again. Hope this helps!

@tinyfairy19
Copy link

Hello, I think I've found a fix. The query ids have changed for some datasets. See this link for more info. So if you edit "concept_ids" in the "gedifinder" function you should be able to download again. Hope this helps!

Thank you so much! a quick fix below.

env<- environment(gedifinder)
unlockBinding("concept_ids", env)
env$concept_ids <- list(
GEDI01_B.002 = "C2142749196-LPCLOUD",
GEDI02_A.002 = "C2142771958-LPCLOUD",
GEDI02_B.002 = "C2142800000-LPCLOUD",
GEDI03.002 = "C2153684000-ORNL_CLOUD",
GEDI04_A.001 = "C2734289999-ORNL_CLOUD",
GEDI04_A.002 = "C2237824999-ORNL_CLOUD",
GEDI04_B.002 = "C2244602999-ORNL_CLOUD"
)

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

4 participants