Examples of images generated in the training session (click an image to open it in a separate tab)
GOES-16 (GOES-East) ABI AOD Image for September 16, 2022 at 15:01 UTC
NOAA-20/VIIRS Fire Detections for October 16, 2022 at 21:18 UTC
If you would like to run the Python code used in the training session on your own computer, follow the instructions below.
- If Anaconda is not installed your computer, follow these instructions to install it.
Anaconda is free for individual users. It comes bundled with the latest stable version of Python and ~1500 of the most widely used packages. Note: Anaconda requires ~3GB of free disk space.
- Download the following compressed file to your computer; put the file a location that is easy to remember (e.g., the Desktop). Then open the file and and extract the contents.
- Download .zip file
- This compressed file contains the files used in the training session, including 2 .ipynb files (Jupyter Notebook formatted Python files) and 3 satellite data (.nc) files, as well as a .yml file (environment configuration file):
- noaa_abi_aerosols.ipynb
- noaa_viirs_fires.ipynb
- AF-Iband_v1r0_j01_s202210162118082_e202210162119327_c202210162142235.nc
- g16_conus_lat_lon.nc
- OR_ABI-L2-AODC-M6_G16_s20222591501173_e20222591503546_c20222591506172.nc
- environment.yml
- Set up a new environment on your computer to run the Python code used in the training session, using the provided "environment.yml" file. This will ensure you run the provided Python files with the optimal set of Python/packages (to avoid errors).
- Open the Anaconda Powershell Prompt (Windows) or terminal (MacOS)
- Make sure you are in the base environment by typing:
- Install the "nb_conda_kernels" package into your base environment by typing:
- Next, navigate to the directory on your computer where you extracted the contents of the compressed file downloaded in Step 2; the command may look like:
cd C:\Users\Jane.Doe\Desktop\ASTG_NOAA_2023_Python_Files\ (Windows)
cd ~/Desktop/ASTG_NOAA_2023_Python_Files/ (MacOS)
- Install the new environment used the training session by typing the following command into the prompt (use the same command for Windows/MacOS), where "environment.yml" is the name of the .yml file with the environment configuration for the training session:
- It may take several minutes for the packages to install. Once the environment installation is complete, exit the terminal.
- Run the training session Python code files in Jupyter Notebook on your computer.
- Follow these instructions to launch Jupyter Notebook.
- Follow these instructions to make a new folder in Jupyter Notebook and upload to it the files you downloaded in Step 2.
- Click on one of the Jupyter Notebook files to open it in a new tab in Jupyter Notebook ("noaa_abi_aerosols.ipynb" or "noaa_viirs_fires.ipynb").
- To change the environment that the Notebook file is running in, click on the "Kernel" pull-down menu at the top center, select "Change kernel" and then select the "ASTG_NOAA" option, similar to what is shown in the screenshot below. It may take a few seconds for the kernel to update with the new environment.
- Once the kernel has updated, you should see the name of the environment in the upper right corner. At this point, you can start running the code.