This repository contains code that requests all metadata from all HAPI servers daily and creates additional metadata and plots. See etc/crontab.sh for commands that are executed.
-
abouts.pyupdates abouts.json file, which contains the master list of HAPI servers; see also the README. -
catalogs.pyreads/catalogresponses (which contain a list of datasets) from each server inabouts.json. The/inforesponse for each dataset is then requested. The catalog response for each server is stored in a subdirectory of https://hapi-server.org/meta/catalogs. The/inforesponses for each dataset are stored in a subdirectory of https://hapi-server.org/meta/infos. The file catalogs-all.json contains all/catalogand/inforesponses in a single file. -
availability.pycreates dataset availability plots and HTML in https://hapi-server.org/meta/infos based on the{start,stop}Datefound in the dataset/inforesponses. Plots are stored at https://hapi-server.org/meta/availabilities/, and they are visible at https://hapi-server.org/servers when selecting a server and clicking "View SERVER Time Range Coverage." -
spase.pycreates partial SPASE records for all datasets of all servers. It usesspase.jsonfor configuration information. The output is stored in https://hapi-server.org/meta/spase/.