Closed acasmor closed 5 years ago
So, the status of this is as follows:
In LCBImageRecipe
and MOSImageRecipe
, reference_extinction
is optional
In LCBStandardRecipe
and MOSStandardRecipe
reference_extinction
is required
In LCBImageRecipe
and MOSImageRecipe
, reference_extinction
and master_sensitivity
are independent, so (currently) to avoid any flux calibration you have to disable both
One way to disable these requirements is assign the value None
to them in the observation file.
The JSON value null
is translated to None
in Python, so adding this should work:
requirements:
reference_extinction: null
master_sensitivity: null
Sergio, I´ve done the test with reference_extinction: null and master_sensitivity: null and now the values are "none" but I get the following error:
.....
DEBUG: correct from Twilight in image uuid:f569565e-d617-11e8-9b5d-c4b301d98315
numina.recipes.megara INFO start sky subtraction
numina.recipes.megara INFO obtain fiber information
numina.recipes.megara DEBUG sky fibers are: [22, 23, 24, 25, 26, 27, 28, 57, 58, 59, 60, 61, 62, 63, 134, 135, 136, 137, 138, 139, 140, 267, 268, 269, 270, 271, 272, 273, 351, 352, 353, 354, 355, 356, 357, 484, 485, 486, 487, 488, 489, 490, 561, 562, 563, 564, 565, 566, 567, 596, 597, 598, 599, 600, 601, 602]
numina.recipes.megara INFO end sky subtraction
numina.recipes.megara INFO no flux calibration
numina.recipes.megara INFO start extinction correction
Traceback (most recent call last):
File "/Users/acm/anaconda2/envs/megara3/bin/numina", line 11, in
MegaraLcbStdStar