<jupyter_start><jupyter_text>Download CALIPSO files via FTP  Step 1: Order CALIPSO files1. Set up an account with the [NASA EarthData system](https://urs.earthdata.nasa.gov/home)1. Use [this page](CALIPSO Search and Subset Tool) to order the desired data.    * Products: Level 1 (Atmospheric, 532 nm calibration/backscatter, 1064 nm calibration/backscatter), Level 2 (Vertical Feature Mask: Layer Information).   Step 2: Download the files you ordered1. You'll receive an email when your requested data becomes available. This email will contain a FTP address, which is where all of the requested files will be stored. 1. Enter FTP address and destination directory for the downloaded files below. 1. Use the custom function to download all of the data to the destination directory.<jupyter_code>import os

def download_ftp_calipso(ftp_url,dest_path): 
    """Downloads the specified files via FTP."""
    wget_cmd  = 'wget -nc -nd -P '+dest_path+' '+ftp_url
    os.system(wget_cmd)
    return None
#data_path = os.path.join('/','Users','Lucien','Documents','cloudsat_project','data')
data_path = os.path.join('/','Volumes','DataPics','cloudsat_project','data')
ftp_url   = 'ftp://xfr139.larc.nasa.gov/sflops/Distribution/2019183112143_43051/*'
dest_path = os.path.join(data_path,'calipso')

download_ftp_calipso(ftp_url,dest_path)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10727406318883174, 'fraction_numerical': 0.02718589272593681, 'mean_word_length': 5.394366197183099, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '231678', 'license': 'MIT', 'n_tokens_mistral': 468, 'n_tokens_neox': 419, 'n_words': 138, 'path': 'notebooks/download_calipso_data.ipynb', 'repo_name': 'lucien-sim/cloudsat-viz', 'size': '1361'}