Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Source: https://coast.noaa.gov/htdata/CMSP/AISDataHandler/2023/index.html
Destination: my_lakehouse_root/files/ais/2023/
Lakehouse SQL Endpoint: xyz.datawarehouse.fabric.microsoft.com
I have successfully downloaded this in a VM on another cloud with:
$ wget -qO -np -r -nH -L --cut-dirs=3 https://coast.noaa.gov/htdata/CMSP/AISDataHandler/2023/
I tried "Copy Data" in a pipeline, but it only grabs the webpage itself (index.html), and not the zip files.
I only need to copy the files, I will extract and process these zip files in Spark later.
Solved! Go to Solution.
I would donwload them via a python notebook instead
Create an iterator that generates the needed urls. from 01_01 until 09_30
download each url
https://coast.noaa.gov/htdata/CMSP/AISDataHandler/2023/AIS_2023_01_01.zip
if you need inspiration on how to download files in python, then use the existing samples that you can install for free. The Machine detection one for example downloads its own data.
They all contain a code block that downloads a file and unzips it to the lakehouse. here is the example from the uplift sample
I would donwload them via a python notebook instead
Create an iterator that generates the needed urls. from 01_01 until 09_30
download each url
https://coast.noaa.gov/htdata/CMSP/AISDataHandler/2023/AIS_2023_01_01.zip
if you need inspiration on how to download files in python, then use the existing samples that you can install for free. The Machine detection one for example downloads its own data.
They all contain a code block that downloads a file and unzips it to the lakehouse. here is the example from the uplift sample
Thanks,
This worked. My error was in using my Lakehouse name is the destination path. I got the correct destination by going to the folder in the Lakehouse navigation sidebar, then left-clicking on the "...", and left-clicking "Copy File API Path"
```