Skip to content

Run pipeline for non-P1 and P5 samples #1183

@AndreOKovacs

Description

@AndreOKovacs

Hello,

I'm trying to run the LESIA L1 pipeline from platonium, but I'm getting the following error:

platonium 1 1 1 1 --project toi-201 --sample TOI-201 --pipeline --varfile /Users/andre/plato/platosim_workdir/toi-201/input/varsource_wl.txt -v 3 -w --pipe_psf microscan

PLATOnium

Loading stellar catalogue..

Initialize and configure PlatoSim

Applying pointing errors     (PRE FromFile)
Applying camera misalignment (APE FromFile)
Applying camera drift        (TED FromFile)
Applying platform jitter     (ACS RedNoise)
Applying thermal transients  (GTT FromFile)

Information about stellar target
        gaiaDR3   ra [deg]  dec [deg]      mag CCD   xCCD [pix]  yCCD [pix]  rOA [deg]  xFP [mm]  yFP [mm]  Ncon
0  4.767548e+18  87.401784 -54.910414  8.74134   4  3061.915012  4468.40699  12.847645  2.048674  56.41447     0

Star catalog used in simulation
    RA [deg]  Dec [deg]  P [mag]  Dis [pix]
0  87.401784 -54.910414  8.74134        0.0 

Applying variable-source file (varsource_wl.txt)
Applying on-board photometry  (photometry.txt)

[PlatoSim]: Simulating N-CAM 1.1 Q1 for 312113 exposures

Simulation statistics
------------------------------------------------------------
Max RAM memory for PlatoSim      : 1.0 MB
Storage memory for PlatoSim      : 166.0 MB
Execution time for PlatoSim      : 0:02:06.560765 [h:mm:ss]
Traceback (most recent call last):
  File "/Users/andre/anaconda3/envs/platonium-pipeline/bin/platonium", line 2218, in <module>
    p.resources()
  File "/Users/andre/anaconda3/envs/platonium-pipeline/bin/platonium", line 2084, in resources
    print(f'Execution time for Microscanning : {self.tocMicroscan} [h:mm:ss]')
                                                ^^^^^^^^^^^^^^^^^
AttributeError: 'PLATOnium' object has no attribute 'tocMicroscan'. Did you mean: 'run_microscan'?

Unfortunately, after checking the source code, it seems that platonium supports only P1 and P5 samples for the pipeline execution using the microscan PSF method (it doesn't run the on-ground L0-L1 pipeline chain and, instead, runs only the PlatoSim time series)?

For non-P1 and P5 samples I would need to manually run the pipeline following the steps described here? https://github.com/IvS-KULeuven/PlatoSim3/issues/955

Thanks,
Andre

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions