images (class)

class images[source]

Bases: object

The base class for the feeder image cachers

Usage

To create a new survey image cacher create a new class using this class as the baseclass:

from ..images import images as baseimages
class images(baseimages):
    ....

Methods

cache([limit])

cache the image for the requested survey

cache(limit=1000)[source]

cache the image for the requested survey

Key Arguments

  • limit – limit the number of transients in the list so not to piss-off survey owners by downloading everything in one go.

Usage

from marshallEngine.feeders.panstarrs import images
cacher = images(
    log=log,
    settings=settings,
    dbConn=dbConn
).cache(limit=1000)