Create WTML from lists of HiPS datasets
Перейти к файлу
Peter Williams cdcb404dc4 hips_list_parser.py: report new datasets 2021-12-27 10:51:34 -05:00
.gitignore .gitignore: add this 2021-12-16 13:00:37 -05:00
LICENSE Initial commit 2021-11-08 11:18:51 -05:00
README.md hips_list_parser.py: update for two-stage process 2021-12-16 12:59:46 -05:00
create_wtml.py create_wtml.py: pretty sure we want searchable to be true 2021-12-16 13:22:29 -05:00
datasets.yml datasets.yml: fix some more unhelpful datset names 2021-12-16 13:16:55 -05:00
hierarchy.yml Import YAML data derived from the HiPS list 2021-12-16 12:46:51 -05:00
hips_list_parser.py hips_list_parser.py: report new datasets 2021-12-27 10:51:34 -05:00
toc.txt Import YAML data derived from the HiPS list 2021-12-16 12:46:51 -05:00

README.md

wwt-hips-list-importer

Create WTML from the canonical HiPS list.

This is a two-stage process. The program ./hips_list_parser.py downloads the current HiPS list and updates three files that are stored in this repo:

  • toc.txt with a terse table-of-contents of all of the datasets;
  • datasets.yml with the key metadata for input into WWT; and
  • hierarchy.yml expressing the folder hierarchy into which the datasets should be organized

When new HiPS datasets are added, you can look at the diffs to see what's changed, and manually fix up any metadata issues that need improvement. Note that this script currently won't do a good job of preserving manual fixes made in previous runs (git add -p is your friend).

Once the metadata are edited, the WTML can be created with ./create_wtml.py. This creates a file named hips.wtml suitable for upload to the WWT servers.