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

3 次查看(过去 30 天)
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

采纳的回答

Udit06
Udit06 2023-9-8
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by