Comments (7)
Can you provide an actual (non)working example? the lonlat
values provided are not valid.
from nasapower.
Sorry, that was my mistake. Please see the code below. The first of the two requests using ALL SKY SFC DWN works fine; the second, which uses SI EF MIN OPTIMAL does not. Note also that the error message is at odds with the documentation from the NASA Power API site.
``
#this works
qatarrandom1 <- nasapower::get_power(community = "SSE", pars = "ALLSKY_SFC_SW_DWN", temporal_average = "CLIMATOLOGY", dates = c("2000-01-01", "2010-01-01"), lonlat = c(51, 25.1))
#this does not
qatarrandom2 <- nasapower::get_power(community = "SSE", pars = "SI_EF_MIN_OPTIMAL", temporal_average = "CLIMATOLOGY", dates = c("2000-01-01", "2010-01-01"), lonlat = c(51, 25.1))
The error message for the second one is as below
``
Error: The Solar Irradiance for Equator Facing Tilted Surfaces are returned as a Set of Surfaces., Please remove: SI_EF_MIN_OPTIMAL and replace with SI_EF_MIN_TILTED_SURFACE to return the requested parameters., Please remove: SI_EF_MIN_OPTIMAL and replace with SI_EF_TILTED_SURFACE to return the requested parameters. Please reference our API Documentation at https://power.larc.nasa.gov for more information.
|
from nasapower.
That's not an error from this package, that comes directly from the POWER API as far as I can tell.
Did you follow the directions the error message gives you? What was the result then?
from nasapower.
from nasapower.
I'm not sure what I'm supposed to do here? nasapower
only creates a query it sends to the API. If the API isn't handling the parameters properly then that's on the receiving side, not the sending side and I have no control.
from nasapower.
I see your point and I am sorry for the hassle. I will close this and try to find a way of following up with the NASA Power API. Their website is not entirely clear on how to do this (maybe I didn't look in the right places) so I would appreciate any pointers you have on that.
from nasapower.
I've just sent an email to the team members, they're responsive in the past. If there is something that they suggest that I can implement I'm happy to. But this doesn't seem to be under my control
from nasapower.
Related Issues (20)
- Error: Unprocessable Entity (HTTP 422) HOT 5
- 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
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.