There is a problem with the "Matlab Interface For NOAA Data

3 visualizaciones (últimos 30 días)
Stephen Forczyk
Stephen Forczyk el 22 de Nov. de 2022
Respondida: Udit06 el 8 de Sept. de 2023
the link to the Matlab Central submission is
I can get the package to work but there is a giant flaw. When downloading a years worth of data i.e. (Jan-01-2015 to Dec-31-2015 the data from Jan 1 thru Feb 27 is generally missing. Looking at the data manually the data was collected. This was not a problem for a single weather station or single parameter-it is endemic.
I also have a Python package to do the same job and I notice the SAME flaw.
I would appreciate any way to correct this problem

Respuesta aceptada

Udit06
Udit06 el 8 de Sept. de 2023
Hi Stephen,
I understand that you are facing the problem of missing data for the month of January and February while using the MATLAB interface for NOAA data. I am summarizing the discussion that took place between you and Chris on the GitHub platform so that if anyone else faces the same problem again, they can refer to this summary.
The key takeaways from the discussion are:
  1. The problem is only with the Temperature data, for other datasets the data for the months of January and February were returned.
  2. The issue is at the end of NOAA. They are aware of the missing data and working to address it.
  3. A possible workaround to extract the relevant data was suggested involving NCEI v1 API using the “webread” function as shown below which requires you to know details like bounding box, station related to the data that you want to extract.
options = weboptions("Timeout",200)
% In the input URL of the “webread” function you need to include relevant
% information like data type, start date, end date, bounding box, station id as suggested in the curly braces below.
webread(https://www.ncei.noaa.gov/access/services/data/v1?dataset=dailysummaries&dataTypes={data_type}&stations={station_from_which_data_is_required}&startDate={required_starting_date}&endDate={required_end_date}&boundingBox={bounding_box_information},options)
Refer to below GitHub issue to read the entire conversation.
I hope this helps.

Más respuestas (0)

Categorías

Más información sobre Data Import and Export en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by