-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fetch data from a region #55
Comments
Hi @kauedesousa, I'm not sure what the issue is? > get_power(community = "ag",
+ lonlat = c(112.5, -55.5, 115.5, -50.5),
+ pars = c("T2M_MAX", "T2M_MIN"),
+ dates = c("1985-01-01", "1985-02-01"),
+ temporal_api = "daily")
NASA/POWER CERES/MERRA2 Native Resolution Daily Data
Dates (month/day/year): 01/01/1985 through 02/01/1985
Location: Regional
Elevation from MERRA-2: Average for 0.5 x 0.625 degree lat/lon region = na meters
Value for missing model data cannot be computed or out of model availability range: NA
Parameter(s):
Parameters:
T2M_MAX MERRA-2 Temperature at 2 Meters Maximum (C) ;
T2M_MIN MERRA-2 Temperature at 2 Meters Minimum (C)
# A tibble: 1,920 × 9
LAT LON YEAR MM DD DOY YYYYMMDD T2M_MAX T2M_MIN
<dbl> <dbl> <dbl> <int> <int> <int> <date> <dbl> <dbl>
1 -55.2 113. 1985 1 1 1 1985-01-01 4.09 2.85
2 -55.2 113. 1985 1 1 1 1985-01-01 4.18 2.83
3 -55.2 114. 1985 1 1 1 1985-01-01 4.12 2.76
4 -55.2 114. 1985 1 1 1 1985-01-01 3.92 2.46
5 -55.2 115. 1985 1 1 1 1985-01-01 3.68 2.06
6 -55.2 115. 1985 1 1 1 1985-01-01 3.51 1.68
7 -54.8 113. 1985 1 1 1 1985-01-01 4.36 3.12
8 -54.8 113. 1985 1 1 1 1985-01-01 4.45 3.04
9 -54.8 114. 1985 1 1 1 1985-01-01 4.4 2.98
10 -54.8 114. 1985 1 1 1 1985-01-01 4.25 2.8
# … with 1,910 more rows |
Hi @adamhsparks, it seems that I was using an old version of
The issue was here
Thanks a lot! |
Now, a different type of error, if I change the coordinates to a different region It goes fine for a single point
But returns no data if I call for a region
Any idea on the origin of this issue? |
Edge case that I didn't discover. Check the URL that's generated, for the error message. It should be passing it along but it's not. Sorry about that. I'll work on this.
|
closed with 7ac4cba |
Hi @adamhsparks
I am trying to download data from a region and a get this error. Here the code. Am I making the wrong call or is it something in the functions?
This is a short information in my R session
The text was updated successfully, but these errors were encountered: