Граф коммитов

153 Коммитов

Автор SHA1 Сообщение Дата
Peter Williams 69238cc02a Implement a --tiling-method argument for "toasty view" 2023-06-23 12:41:18 -04:00
Peter Williams 84110233fc docs/api: update 2022-09-03 09:26:35 -04:00
Peter Williams 6a18814be1 toasty/pyramid.py: write up new docs 2022-09-02 21:30:05 -04:00
Peter Williams d9bd2eb136 toasty/progress.py: write API docs 2022-09-02 20:04:50 -04:00
Peter Williams e1a61905e1 Update the docs for the "view" command 2022-08-31 16:25:27 -04:00
Henrik Norman 3373e2673b Fixed typos and review changes 2022-08-24 08:49:40 +02:00
Peter Williams a924ffca31 Merge remote-tracking branch 'wwt/master' into toast-from-array-wcs 2022-08-23 15:52:53 -04:00
Henrik Norman 973d0f2a34 Updated documentation with the latest file changes 2022-08-19 11:07:54 +02:00
Henrik Norman 019be3a9e0 Updated view docs now that TOAST is the default tiling method for images with large angular size 2022-08-19 10:44:44 +02:00
Peter Williams e3a63cf850 Add support for automated Zenodo deposition and DOI registration.
While we're at it, add some new `toasty show` subcommands so that people
can get the DOIs programmatically, if they happen to want to.
2022-08-15 17:28:44 -04:00
Peter Williams 1d41e091ab Add --avm-from option to "toasty tile-study" 2022-07-12 09:11:44 -04:00
Peter Williams 0f72bb87e9 docs/conf.py: set language 2022-07-12 09:11:12 -04:00
Peter Williams 355ca4d70e docs/conf.py: reformat with "black" 2022-07-12 09:10:57 -04:00
Peter Williams 1d6f8e949a docs: document tile-healpix 2022-04-01 10:13:38 -04:00
Peter Williams 7d8b5c165b toasty check-avm: add some spatial info diagnostics 2022-02-12 12:27:47 -05:00
Peter Williams d224d24368 Add some more planetary longitude formats
@astrodavid10 has encountered some data sets that use these.
2022-01-24 20:14:49 -05:00
Peter Williams 1ea3377795 docs: reorganize API docs 2022-01-14 14:18:22 -05:00
Peter Williams a41c2cb5f0 Add the `--fits-wcs` argument to `tile-study`
This is helpful for Astrometry.Net.
2022-01-14 14:18:22 -05:00
Peter Williams fbd0dc3edc toasty/cli.py: add the "view" subcommand
Yay!
2021-12-10 13:54:44 -05:00
Peter Williams fe432b4114 toasty/fits_tiler.py: rework to be collection-based
Now that we have the collection "export" concept, the tiler can work
with ImageCollections rather than its own lists of FITS paths and HDU
indices. This positions us to use a much more object-oriented approach
where the tiler maintains more state and provides a more streamlined API
to callers.

Once that's done, the toplevel `toasty.tile_fits` function can become a
lot simpler.
2021-12-10 13:26:38 -05:00
Peter Williams 46295b435e toasty/collection.py: add CollectionLoader and load() helper
These provide a simple, uniform interface for creating an
ImageCollection, in analogy to the ImageLoader and Image interfaces. The
load() function provides a "just do what I want" interface intended for
interactive and scripting usage.
2021-12-10 13:08:42 -05:00
Peter Williams 085f0050ea docs/api: auto-update for new API 2021-11-15 13:18:21 -05:00
Peter Williams d31cd7370b Fix up some naming mistakes 2021-10-13 15:25:49 -04:00
Peter Williams 7293e68d54 toasty/toast.py: finish exposing the filtered sampling functionality in a nice API 2021-10-13 14:55:57 -04:00
Peter Williams 396d44dd49 Fix up docs build for recent changes
For some reason I can't get a reference to
`toasty.image.SUPPORTED_FORMATS` to work as a Sphinx `:data:...`
reference?
2021-10-13 13:23:48 -04:00
Peter Williams 01e3b02df5 docs: update API docs 2021-09-17 13:41:40 -04:00
Peter Williams 174aa9e749 Add `--avm` option to `toasty tile-study`
In an ideal world, we'd just automatically detect AVM and Do The Right
Thing, but not a lot of people are necessarily going to have pyavm
installed and we don't necessarily want to require it.

Part of this is making the decision to just unilaterally invert the
parity of the WCS that pyavm hands us based on the AVM data. From the
files that I've seen in the wild, this looks to be the correct thing to
do.
2021-09-09 22:19:03 -04:00
Peter Williams 8c3fe9b233 Add `toasty check-avm`
A quick utility command to check whether an image contains AVM metadata, and
optionally dump out those data.
2021-09-08 17:08:13 -04:00
A. David Weigel b83069c8a0
Update tile-allsky.rst 2021-08-25 00:10:19 -05:00
Peter Williams b5eaf8010d tile-wwtl: add a --name argument as supported in other similar commands
Closes #53.
2021-08-19 16:14:40 -04:00
Peter Williams b391922a66 Attempt to fix up docs CI build 2021-08-06 10:45:02 -04:00
Peter Williams 3431bebd91 toasty/collection.py: add RubinDirectoryCollection for my LSST simulation data 2021-08-05 19:06:18 -04:00
Peter Williams adf1fe07db toasty/multi_tan.py: completely revamp
Haven't touched this code in a while, but WWT can now display tiled FITS
so we're about to use it a lot more! The new code has to be careful
about the parities of FITS vs. tilings but I believe that we're doing
that all correctly now. We now also emit WTML using the standard
framework and otherwise modernize this code.

No parallel implementation yet, just trying to tidy up the serial
approach first.
2021-08-04 21:32:48 -04:00
Peter Williams eb3b95cc55 toasty/builder.py: standardize initialization of the imageset URL and file_type 2021-08-04 21:05:19 -04:00
Peter Williams 10679ca33f toasty/image.py: add parity-related operations
And also the ImageDescription class that was referenced in the
new "collection" module a few commits ago. I don't love the code
duplication here.
2021-08-04 17:08:23 -04:00
Peter Williams 7be88f3147 toasty/merge.py: prepare for FITS cascading
To render tiled FITS, things are a bit awkward because the individual
FITS files are rendered by WWT assuming a bottoms-up (positive parity)
data layout, but the overall tiling coordinate system is still top-down.
If you work through the geometry, the cascade process can be nearly
identical for both this case and the case where the tiles are also
top-down: all you need to change is to reorder the vertical stacking in
the cascade process. So, do that. In order for this to work, we need to
add some infrastructure to "know" the expected vertical data layout of
the pyramid tiles.
2021-08-04 16:55:30 -04:00
Peter Williams 40a66b00fd docs/api: updates from recent work 2021-08-04 16:50:25 -04:00
Peter Williams a3b4856a16 toasty/collection.py: start sketching out an image-collection framework 2021-08-04 16:49:45 -04:00
Peter Williams 72f11721d1 pipeline: add ignore-rejects command
We had a mechanism to have certain images be marked as ignored, but
there wasn't a way for users to do any marking! This new command can
mark all rejected images to be ignored in the future.
2021-08-04 10:17:40 -04:00
Peter Williams d7ff3237c0 pipeline: hack to tidy up process-todos output 2020-12-17 10:47:09 -05:00
Peter Williams 916763b733 pipeline: get Djangoplicity working for eso.org
It turns out that the eso.org installation of Djangoplicity has some
differences from the NOIRLab one that mean that we have to add a few
more bells and whistles:

- Make TLS-no-verify optional (not strictly required, but good to do)
- The search pagination URLs are different
- Handle gzipped content from the server

We centralize the request-making code a bit to make it easier to support
all of these consistently.
2020-12-17 10:45:08 -05:00
Peter Williams 483b1021a7 docs/cli/pipeline-fetch.rst: mention that some images are rejected 2020-12-08 22:08:26 -05:00
Peter Williams 495077daff docs/api: update 2020-12-08 21:50:43 -05:00
Peter Williams 9e806367e9 pipeline: add support for globby arguments in fetch and approve 2020-12-08 21:50:35 -05:00
Peter Williams d1b0af796e docs: some minor improvements 2020-12-08 21:08:22 -05:00
Peter Williams ad92b39452 docs/pipeline.rst: use different Djangoplicity example since NOIRLab's SSL is busted 2020-12-03 21:39:56 -05:00
Peter Williams 24a6c1469a docs: write up for-realsies pipeline documentation 2020-12-03 20:59:52 -05:00
Peter Williams 4a742caec0 pipeline: start working on Djangoplicity support 2020-12-03 20:59:52 -05:00
Peter Williams 97c4cbbd3c pipeline: update image processing to use the Builder 2020-12-03 20:59:46 -05:00
Peter Williams b37c340d72 pipeline: CandidateInput.cache_data no longer needed 2020-12-03 20:58:48 -05:00