Sigmoid Catalog
latest
  • Overview
  • get_hmi_files_cutout
  • get_aia_files_cutout
  • get_aia_files.py
  • get_solarmonitor_links_dirty
  • sigmoidsize_adv
  • filament_selector
  • make_hmi_movie_cutout_man_thres
  • make_aia_flare_movies
  • make_hmi_movie_cutout
  • create_json_for_web
  • create_combined_movies
  • create_flux_plot
Sigmoid Catalog
  • Docs »
  • get_solarmonitor_links_dirty
  • Edit on GitHub

get_solarmonitor_links_dirty¶

This code “queries” solarmonitor.org for four different full sun images (Line-of-Sight (LoS) Magnetic Fields, Hinode-XRT, H alpha , and ~171 Angstroms). The query works by making text requests for a specified date to solarmonitor then parsing the text for png files related to observations in all four wavelengths. If the program finds a file, then it downloads the file locally. In preceeding iterations, the program checks that the file does not already exist locally before trying to download the four images. Normally, get_solarmonitor_links_dirty runs from within create_json_for_web, but may also run independently. An example of the code is below downloads all files not currently stored locally in output_dir/ and stores the path to all local files in links, even if they were previously downloaded.

NAME:
get_solarmonitor_links_dirty
DESCRIPTION
Returns links to full Sun images on Solarmonitor.org for the following observations: LOS Magnetic Fields, X-ray, H alpha, and SDO/AIA 171 or SWAP 174
USAGE
get_solarmonitor_links_dirty,date,outdir,links
INPUT
date – Date formated in YYYYMMDD to get solarmonitor full sun images outdir – Output directory of solarmonitor png file
OUTPUT
links – An array of links to the solar monitor website
EXAMPLE
get_solarmonitor_links_dirty,‘2019/01/04’,’output_dir/’,links
Next Previous

© Copyright 2019 Revision 1090dae7.

Built with Sphinx using a theme provided by Read the Docs.