fplane_client - FPlane retrieval routines

vdrp.fplane_client.get_fplane(filename, datestr='', actpos=True, full=False)[source]

Obtains fplane file from fplane server at MPE.

Args:
filename (str) : Filename that the fplane file should be saved to. datestr (str): Datestring of format YYYYMMDD (e.g. 20180611).
vdrp.fplane_client.main()[source]
vdrp.fplane_client.retrieve_fplane(night, fplane_txt, wdir)[source]

Saves the fplane file to the target directory and names it fplane.txt.

Args: fplane_txt (str) : Either a specific fplane file is specified here, ‘DATABASE’ is passed,

or a file pattern is provided e.g. fplane_YYYYMMDD.txt. In case of the latter a substring of format YYYYMMDD is expected. The routine will then search for an fplane file of the current date or pick the next older one. E.g. if shot 2080611v017 is to be analysed and fplane files fplane_2080610.txt and fplane_2080615.txt exist, then fplane_2080610.txt will be picked. In the case of DATABASE the fplane file is retrieved from https://luna.mpe.mpg.de/fplane/.