This repository contains code that requests all metadata from all HAPI servers daily and creates additional metadata and plots.
-
abouts.pyupdates abouts.json, which contains the master list of HAPI servers; see also the README of its repository. -
catalogs.pyreads/catalogresponses (which contain a list of datasets) from each server inabouts.json. The/inforesponse for each dataset from each server is then requested. The catalog response for each server is stored in a subdirectory of hapi-server.org/meta/catalogs. The/inforesponses for each dataset are stored in a subdirectory of hapi-server.org/meta/infos. The file catalogs-all.json contains all/catalogand/inforesponses in a single file. -
availability.pycreates dataset availability plots based on the{start,stop}Datefound in the dataset/inforesponses. Plots are stored at hapi-server.org/meta/availabilities/, and they are visible at 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/.
See etc/crontab.sh for commands that are executed nightly.
For testing changes to the table configuration using the nightly generated metadata, use
rsync -avz weigel@rweigel.dynu.net:git/hapi/server-metadata/data .
pip install -e .
cd ..; pip install git+https://github.com/rweigel/table-ui
cd server-metadata
python ../table-ui/serve.py --config table/tableui.json --port 8052
To regenerate table metadata, use
python table.py [server]