NREL / developer.nrel.gov

An issue tracker for NREL's APIs available at https://developer.nrel.gov
43 stars 39 forks source link

No data available at the provided location #323

Closed raceyy closed 8 months ago

raceyy commented 11 months ago

Hi,

I've been trying to download any data (preferably 10-minute interval data from Himawari) for Perth, Australia (Perth -31.9523, 115.8613).

It's possible to download data via the NSRDB Data Viewer but not with the NSRDB API request.

I'm wondering if there is an issue with the API service or if I'm using the wrong satellite, I've tried quite a few variations including taking variable information directly from the NSRDB Data Viewer emailed data but haven't been able to make it work.

Thanks for your help!

OUTPUT:

Matthews-MacBook-Pro-103:Solar_Modelling racy$ {"inputs":{"body":{},"params":{},"query":{"limit":"1","wkt":"POINT(-31.95 115.86)","names":"2013","leap_day":"false","utc":"false","interval":"60","email":"###replaced_for_privacy###","attributes":"clearsky_dni,clearsky_dhi,air_temperature,wind_speed"}},"metadata":{"version":"2.0.0"},"status":400,"errors":["No data available at the provided location","Data processing failure."]}

https://developer.nrel.gov/docs/solar/nsrdb/himawari7-download/ https://developer.nrel.gov/docs/solar/nsrdb/himawari-tmy-download/ https://developer.nrel.gov/docs/solar/nsrdb/himawari-download/

raceyy commented 11 months ago

UPDATE:

I've followed the instructions to find the nearest dataset using NSRDB Data Query and it's returned zero datasets. https://developer.nrel.gov/docs/solar/nsrdb/nsrdb_data_query/

Himarwari covers Australia, does the NSRDB API cover Australia?

Matthews-MacBook-Pro-103:Solar_Modelling racy$ {"inputs":{"body":{},"params":{},"query":{"wkt":"POINT(-31.95 115.86)"}},"metadata":{"version":"2.0.0","resultset":{"count":0}},"status":200,"outputs":[ ],"errors":[ ]}

PjEdwards commented 11 months ago

The data viewer is a good place to browse which datasets are available in a given area: https://nsrdb.nrel.gov/data-viewer. The dataset that covers Australia is PSM based on Himawari, from which there are 2 vintages covering different temporal scopes, and a TMY endpoint available: https://developer.nrel.gov/docs/solar/nsrdb/himawari-download/ https://developer.nrel.gov/docs/solar/nsrdb/himawari7-download/ https://developer.nrel.gov/docs/solar/nsrdb/himawari-tmy-download/

PjEdwards commented 8 months ago

@raceyy Did you ever get your requests working?

raceyy commented 8 months ago

Hi Paul,

Thanks for the follow up, I didn’t, I ended up using Open Meteo ( https://open-meteo.com/)

Sustainably,

Matthew

On Wed, 11 Oct 2023 at 00:05, Paul Edwards @.***> wrote:

@raceyy https://github.com/raceyy Did you ever get your requests working?

— Reply to this email directly, view it on GitHub https://github.com/NREL/developer.nrel.gov/issues/323#issuecomment-1755758987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEWE5PKMCVR5XIO5ACRTMTX6VW5JAVCNFSM6AAAAAA2MTAHKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVG42TQOJYG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Matthew Race

Tel: + 61 (0) 467 010 991 eMail: @.***

| Melbourne, VIC, Australia 3000 |

This communication contains information which is confidential. If you are not the intended recipient of this communication please delete and destroy all copies and telephone Matthew Race on +61 (0) 467 010 991, immediately or contact myself on @.*** If you are the intended recipient of this communication you should not copy, disclose, retransmit, disseminate or distribute this communication without the written authority of Matthew Race. I am not responsible to the recipient or anyone else for any loss or damage suffered by acting on this advice or any of the material included within this email. I exclude, to the maximum extent permitted by law, any liability that may arise as a result from the use of my advice or from the material included within this email. I aim to provide useful, accurate and current information, however I make no warranties or representations about the quality and accuracy of the material within this email. All information within this email is for information purposes only. It is not legal or other professional advice and should not be relied upon as such. You should seek legal or other professional advice before acting or relying on any of this material.

PjEdwards commented 8 months ago

Fair enough. I realize my initial answer was supremely unhelpful... sharing back at you the docs you'd already referenced in your original statement. We all have bad days I guess.

In case anyone ever looks at this ticket in the future the issue with your request was the well known text has the latitude and longitude swapped. The "no data at location" error coupled with a set of coordinates that are within the relevant extent was the give-away. If I use POINT(115.86 -31.95) it returns data as expected.