Comments (4)
Thanks for reporting this. I'll have a look and see what I can do to fix it.
from nasapower.
Ok, I'm trying to understand what's going on here. This query using the parameter, SI_EF_TILTED_SUFACE
, returns the SI_EF_OPTIMAL
(see line 6 below) that you're asking after. However, if I just query SI_EF_OPTIMAL
, I get the same response that you do. Oddly it is listed as a valid parameter as are the other values in the returned values.
These aren't values that I typically work with, so I'm not familiar with them, but I've not seen the API return a data.frame
with multiple parameters like this when querying just one pars
value.
> sol_daily_BJ <- get_power(community = "SSE",
lonlat = c(93, 33.4),
pars = "SI_EF_TILTED_SURFACE",
temporal_average = "CLIMATOLOGY"
)
> sol_daily_BJ
NASA/POWER SRB/FLASHFlux/MERRA2/ 0.5 x 0.5 Degree Climatologies
22-year Additional Solar Parameter Monthly & Annual Climatologies (July 1983 - June 2005), 30-year Meteorological and Solar Monthly & Annual Climatologies (January 1984 - December 2013)
Location: Latitude 33.4 Longitude 93.0
Elevation from MERRA-2: Average for 1/2x1/2 degree lat/lon region = 4808.03 meters Site = na
Climate zone: na (reference Briggs et al: http://www.energycodes.gov)
Value for missing model data cannot be computed or out of model availability range: NA
Parameters:
SI_EF_TILTED_SURFACE SRB/FLASHFlux 1/2x1/2 Solar Irradiance for Equator Facing Tilted Surfaces (Set of Surfaces) (kW-hr/m^2/day) ;
SI_EF_OPTIMAL SRB/FLASHFlux 1/2x1/2 Solar Irradiance Optimal (kW-hr/m^2/day) ;
SI_EF_OPTIMAL_ANG SRB/FLASHFlux 1/2x1/2 Solar Irradiance Optimal Angle (Degrees) ;
SI_EF_TILTED_ANG_ORT SRB/FLASHFlux 1/2x1/2 Solar Irradiance Tilted Surface Orientation (N/S Orientation) ;
Note(s): ;
Northward facing tilted surfaces are designated negative (-)
# A tibble: 8 x 16
LON LAT PARAMETER JAN FEB MAR APR MAY JUN JUL AUG
<dbl> <dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
1 93.0 33.4 SI_EF_TI… 3.54 4.10 5.16 5.78 6.29 6.08 6.25 5.84
2 93.0 33.4 SI_EF_TI… 4.88 5.11 5.84 6.03 6.19 5.87 6.08 5.92
3 93.0 33.4 SI_EF_TI… 5.69 5.64 6.06 5.91 5.77 5.39 5.62 5.65
4 93.0 33.4 SI_EF_TI… 6.17 5.87 5.95 5.49 5.13 4.71 4.94 5.14
5 93.0 33.4 SI_EF_TI… 5.58 4.76 4.07 3.03 2.38 2.12 2.24 2.63
6 93.0 33.4 SI_EF_OP… 6.30 5.87 6.06 6.04 6.30 6.08 6.25 5.94
7 93.0 33.4 SI_EF_OP… 60.00 51.00 36.00 19.00 5.00 0.00 2.00 12.00
8 93.0 33.4 SI_EF_TI… S S S S S S S S
# … with 5 more variables: SEP <chr>, OCT <chr>, NOV <chr>, DEC <chr>,
# ANN <chr>
from nasapower.
Got it, thanks! It looks like the list of parameters is not actual, and until updated, it is good to check them with NASA/POWER web query..
from nasapower.
I'm struggling with the API on this sort of issue. I don't have a good way to validate requests before sending them if this is the case.
Thanks for the help. I did find several bugs while sorting this out and am prepping a new release.
from nasapower.
Related Issues (20)
- Fetch data from a region HOT 5
- Limited output of climatology data before error occurred HOT 5
- client should pass API messages to end-user HOT 1
- Error: Unprocessable Entity (HTTP 422) HOT 10
- Fetching global climatology data HOT 3
- Problems with installation HOT 2
- Can I access HQPRECIPITATION ? HOT 4
- Release nasapower 4.0.2
- Write rate limiting into package HOT 1
- Warning with vroom >= 1.5.0 HOT 5
- Caching requests HOT 4
- site_elevation and wind_elevation needs fixing HOT 8
- IMERG Precipitation requires changing Time Standard to UTC HOT 2
- get_power fails when request data for more than a year HOT 3
- Dependencies need to be explicictly installed and loaded HOT 3
- Replace skip_on_cran() with skip_if_offline()? HOT 2
- Release nasapower 4.0.10
- Release nasapower 4.0.11
- Error in calculating wind direction at daily level HOT 1
- Error retrieving hourly data for regional coverage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nasapower.