GithubHelp home page GithubHelp logo

Comments (22)

cfletchg avatar cfletchg commented on July 22, 2024

I have contacted NOAA regarding this.

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

Hi Stephen, I have verified that I can get other data for January and February to verify that those input dates are not causing an issue with the interface. I will post again when I hear from NOAA. I'm not sure how quickly they respond to queries on the API.

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

Hi Stephen,

I verified that I can get January data for other datasets and datatype to make sure the interface wasn't having an issue with those date inputs. But I'm guessing that data won't be of much value to you.

I tried the following code to see what datatypes are available for that station and date range:

d = getdata(n,"GHCND", ...
datetime("2022-01-01"), ...
datetime("2022-02-28"), ...
stationid = "GHCND:USW00003856", ...
limit = 1000, ...
units = "metric")

From here I looped through all of the datatypes. In each case there is only one data point, 02/28/2022, for each. I'm not sure why this is but I think it's because the API doesn't have any data for the other dates. I'm not sure why this is different from bulk data sets that you download.

for i = 1:length(d.datatype)
d.datatype{i}
getdata(n,"GHCND", ...
datetime(strcat("2022","-01-01")), ...
datetime(strcat("2022","-02-28")), ...
stationid = "GHCND:USW00003856", ...
datatypeid = "TMAX" , ...
limit = 1000, ...
units = "metric")
end

I don't have clarification from NOAA on this.

Chris

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

I will let you know if I learn of a workaround or get any information from NOAA

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

I received confirmation from NOAA today that they are aware of the missing data issue and working to address it.

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

behroozdaneshian avatar behroozdaneshian commented on July 22, 2024

Hello all,
I still have a problem with extracting daily temperature data for a desired year range(e.g., 2006 to 2012) for a given station ("GHCND:SPE00119783"). The problem is that the created table(annualTemperatureData) does not include data from January 1 to February 28. I have checked the CSV file for this station and data exist for the mentioned time interval. Does anyone know how we can deal with that? I used the following code for that.
annualTemperatureData = [];
for y = 2006:2012
annualTemperatureData = [annualTemperatureData;getdata(n,"GHCND", ...
datetime(strcat(num2str(y),"-01-01")), ...
datetime(strcat(num2str(y),"-12-31")), ...
stationid = "GHCND:SPE00119783", ...
datatypeid = "TAVG", ...
locationid = "FIPS:SP", ...
limit = 1000, ...
units = "standard")];
end

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

behroozdaneshian avatar behroozdaneshian commented on July 22, 2024

Oh my god, so the problem is at the source. Can anyone suggest another way to extract January and February data?

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

from noaa.

behroozdaneshian avatar behroozdaneshian commented on July 22, 2024

I sent them an email regarding this issue, and they told me we are working on API to tackle it. They also suggest v1 API using this URL: https://www.ncei.noaa.gov/access-search#access-apis
However, I could not figure it out.

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

from noaa.

steveforczyk avatar steveforczyk commented on July 22, 2024

from noaa.

cfletchg avatar cfletchg commented on July 22, 2024

from noaa.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.