We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Download tool configuration for Weather data

Newt
8 - Asteroid

I am trying to download weather data from the NCDC's CDO site, and their computer says I'm sending a Bad Request... 

Their site ( Web Services API (version 2) Documentation | Climate Data Online (CDO) | National Climatic Data Cent... ) is super helpful, if only I understood html things.  Sigh.

 

Here's what they say about the Header:

Header.jpg

I've attached a workflow that has the baseline NCDC URL in the URL field of the Text Tool and my token in the second field. The help site says you can append any number of words to the base URL to get different results.  I want to initially append "locations" to get a list of weather reporting stations.

 

I have no idea how to translate the above syntax into the Download tool so that NCDC's CDO understands what I want.  I would deeply appreciate help.

 

2 REPLIES 2
ntakeda
12 - Quasar

Hello @Newt 

Attached are the steps and workflow.
Please check if this will download

 

 1.  Input URL 

2025-02-07_12h41_04.png2025-02-07_12h41_19.png

2. Uncheck DCM

2025-02-07_12h43_21.png

3. Use Token (Download Tool =>Tab "Headers")

2025-02-07_12h43_28.png

 

4. Parse by JSON Tool

Newt
8 - Asteroid

Thank you very sincerely for your help in solving this!

 

David

Labels
Top Solution Authors