Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit a8e3df15 authored by Guillaume Mella's avatar Guillaume Mella
Browse files

add P104.05

parent dbc9815f
#for i in GRAVITY*acquisition; do echo $i; cat $i | jq ".parameters[] | {(.name): {"list": .allowedValues.values}}" |grep BASELINE -A10 ; done
#for instrument in MATISSE
#for instrument in GRAVITY
for instrument in PIONIER GRAVITY MATISSE
do
# get list of periods
#curl https://www.eso.org/copdemo/api/v1/instrumentPackages/${instrument}/
PERIODS="104.05 105.13 105.14"
# TODO HERE get last version from prev url
# loop on some periods
for period in $PERIODS
do
PDIR=P${period}
test -d $PDIR || mkdir -p $PDIR
TEMPLATESIGNATURES=$PDIR/${instrument}.templateSignatures
# retrieve list of templates
test -e $TEMPLATESIGNATURES || wget https://www.eso.org/copdemo/api/v1/instrumentPackages/${instrument}/${period}/templateSignatures -O $TEMPLATESIGNATURES
# and loop on templates one by one
TEMPLATES="$(cat $TEMPLATESIGNATURES | jq -r '.[] .templateName ')"
for tmpl in $TEMPLATES
do
test -e $PDIR/${tmpl} || curl https://www.eso.org/copdemo/api/v1/instrumentPackages/${instrument}/${period}/templateSignatures/${tmpl} | jq --sort-keys . > $PDIR/${tmpl}
done
INSCONFILE=$PDIR/${instrument}.instrumentConstraints
test -e $INSCONFILE || curl https://www.eso.org/copdemo/api/v1/instrumentPackages/${instrument}/${period}/instrumentConstraints | jq --sort-keys ".observingConstraints |= sort_by(.name)" > $INSCONFILE
done
done
{
"instrumentComments": {
"label": "Information on alternative quadruplets",
"type": "string"
},
"observingConstraints": [
{
"default": 1.6,
"inputValidationPattern": "\\d{0,1}(\\.\\d{0,1})?",
"label": "Airmass",
"name": "airmass",
"range": {
"max": 5,
"min": 1
},
"type": "float"
},
{
"default": 1,
"inputValidationPattern": "\\d{0,1}(\\.\\d{0,1})?",
"label": "Seeing",
"name": "seeing",
"range": {
"max": 2,
"min": 0.2
},
"type": "float"
},
{
"default": "Clear",
"label": "Sky Transparency",
"name": "skyTransparency",
"type": "string",
"values": [
"Photometric",
"Clear",
"Variable, thin cirrus",
"Variable, thick cirrus"
]
},
{
"default": 30,
"inputValidationPattern": "\\d{0,2}(\\.\\d{0,2})?",
"label": "PWV (mm)",
"name": "waterVapour",
"range": {
"max": 30,
"min": 0.01
},
"type": "float"
}
]
}
[{"templateName":"GRAVITY_single_acq","type":"acquisition"},{"templateName":"GRAVITY_dual_acq","type":"acquisition"},{"templateName":"GRAVITY_dual_obs_exp","type":"science"},{"templateName":"GRAVITY_single_obs_exp","type":"science"},{"templateName":"GRAVITY_single_obs_calibrator","type":"calib"},{"templateName":"GRAVITY_dual_obs_calibrator","type":"calib"},{"templateName":"GRAVITY_dual_obs_swap","type":"science"},{"templateName":"GRAVITY_gen_cal_dark","type":"calib"},{"templateName":"GRAVITY_gen_cal_flat","type":"calib"},{"templateName":"GRAVITY_gen_cal_p2vm","type":"calib"},{"templateName":"GRAVITY_gen_cal_wave","type":"calib"},{"templateName":"GRAVITY_gen_cal_waveSC","type":"calib"},{"templateName":"GRAVITY_gen_cal_wavelamp","type":"calib"},{"templateName":"GRAVITY_dual_acq_dither","type":"acquisition"},{"templateName":"GRAVITY_gen_cal_init","type":"test"},{"templateName":"GRAVITY_gen_cal_piezoTF","type":"test"},{"templateName":"GRAVITY_gen_cal_standby","type":"test"},{"templateName":"GRAVITY_gen_tec_closeLoops","type":"test"},{"templateName":"GRAVITY_phase_linearity","type":"calib"},{"templateName":"GRAVITY_gen_tec_WFSref","type":"test"},{"templateName":"GRAVITY_disp_calib_FT","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqFibA","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqTTP","type":"calib"},{"templateName":"GRAVITY_gen_tec_PTref","type":"test"},{"templateName":"GRAVITY_gen_tec_linearFDDL","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqPSD","type":"calib"},{"templateName":"GRAVITY_gen_tec_LabInit","type":"calib"},{"templateName":"GRAVITY_gen_tec_Kmirror","type":"test"},{"templateName":"GRAVITY_gen_tec_p2vm","type":"calib"},{"templateName":"GRAVITY_gen_tec_AcqFibBOnAxis","type":"test"},{"templateName":"GRAVITY_gen_tec_RoofPos","type":"test"},{"templateName":"GRAVITY_gen_tec_zeroMetrology","type":"calib"},{"templateName":"GRAVITY_gen_tec_optflxTTP","type":"test"},{"templateName":"GRAVITY_gen_tec_checkEnv","type":"test"},{"templateName":"GRAVITY_gen_tec_SaveDb","type":"test"},{"templateName":"GRAVITY_gen_tec_optflxFaftFT","type":"test"},{"templateName":"GRAVITY_gen_tec_PolaAlign","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqFibB","type":"test"},{"templateName":"GRAVITY_gen_tec_checkFddl","type":"test"},{"templateName":"GRAVITY_gen_tec_startMetrology","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqScale","type":"calib"},{"templateName":"GRAVITY_gen_tec_PolaFringe","type":"test"},{"templateName":"GRAVITY_gen_tec_restoreDefaults","type":"calib"},{"templateName":"GRAVITY_gen_tec_checkMetZero","type":"test"},{"templateName":"GRAVITY_gen_tec_checkMetrology","type":"test"},{"templateName":"GRAVITY_gen_tec_ScanSC","type":"test"},{"templateName":"GRAVITY_gen_tec_AcqFibAOnAxis","type":"test"},{"templateName":"GRAVITY_gen_tec_optflxFaftSC","type":"test"},{"templateName":"GRAVITY_gen_tec_startFldPupTrck","type":"calib"},{"templateName":"GRAVITY_gen_tec_RoofScan","type":"calib"},{"templateName":"GRAVITY_gen_tec_alignSC","type":"test"},{"templateName":"GRAVITY_gen_tec_setupSubsystems","type":"calib"},{"templateName":"GRAVITY_gen_tec_FOCUS","type":"test"}]
\ No newline at end of file
{
"parameters": [
{
"allowedValues": {
"values": [
"FT",
"SC"
]
},
"default": "FT",
"name": "SEQ.CHANNEL",
"type": "string"
},
{
"default": 1,
"name": "SEQ.DIT",
"type": "number"
},
{
"default": 10,
"name": "SEQ.ENDX",
"type": "number"
},
{
"default": 10,
"name": "SEQ.ENDY",
"type": "number"
},
{
"default": 0,
"name": "SEQ.FDDL.REF_FT1",
"type": "number"
},
{
"default": 0,
"name": "SEQ.FDDL.REF_FT2",
"type": "number"
},
{
"default": 0,
"name": "SEQ.FDDL.REF_FT3",
"type": "number"
},
{
"default": 0,
"name": "SEQ.FDDL.REF_FT4",
"type": "number"
},
{
"default": 0.7,
"name": "SEQ.FDDL.REF_SC1",
"type": "number"
},
{
"default": 2.1,
"name": "SEQ.FDDL.REF_SC2",
"type": "number"
},
{
"default": 2.3,
"name": "SEQ.FDDL.REF_SC3",
"type": "number"
},
{
"default": 2.1,
"name": "SEQ.FDDL.REF_SC4",
"type": "number"
},
{
"default": 1,
"name": "SEQ.NDIT",
"type": "integer"
},
{
"default": 0,
"name": "SEQ.STARTX",
"type": "number"
},
{
"default": 0,
"name": "SEQ.STARTY",
"type": "number"
},
{
"default": 0.2,
"name": "SEQ.STEP",
"type": "number"
},
{
"default": 3000,
"name": "SEQ.WAITTIME",
"type": "number"
},
{
"allowedValues": {
"values": [
"IR_IMAGING",
"GUIDING",
"IR_SPECTROSCOPY",
"OPT_IMAGING"
]
},
"default": "GRAVITY",
"label": "Instrument Mode",
"minihelp": "Instrument Mode",
"name": "INS.MODE",
"type": "keyword"
}
],
"templateName": "GRAVITY_disp_calib_FT",
"type": "test"
}
{
"parameters": [
{
"default": "Name",
"label": "FT object name",
"minihelp": "FT object name",
"name": "SEQ.FT.ROBJ.NAME",
"type": "string"
},
{
"allowedValues": {
"ranges": [
{
"max": 30,
"min": -10
}
]
},
"default": 0,
"label": "FT object total magnitude",
"minihelp": "FT object total magnitude in K (-10..30)",
"name": "SEQ.FT.ROBJ.MAG",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 300,
"min": 0
}
]
},
"default": 0,
"label": "FT object diameter (mas)",
"minihelp": "FT object diameter (mas); Required only for calibrator",
"name": "SEQ.FT.ROBJ.DIAMETER",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 1,
"min": 0
}
]
},
"default": 1,
"label": "FT object expected visibility",
"minihelp": "FT object expected visibility",
"name": "SEQ.FT.ROBJ.VIS",
"type": "number"
},
{
"allowedValues": {
"values": [
"AUTO",
"1",
"2",
"7",
"9"
]
},
"default": "AUTO",
"label": "FringeTracker mode",
"minihelp": "FringeTracker mode (AUTO 1 2 7 9)",
"name": "SEQ.FT.MODE",
"type": "keyword"
},
{
"default": "Name",
"label": "SC object name",
"minihelp": "SC object name",
"name": "SEQ.INS.SOBJ.NAME",
"type": "string"
},
{
"allowedValues": {
"ranges": [
{
"max": 30,
"min": -10
}
]
},
"default": 0,
"label": "SC object total magitude",
"minihelp": "SC object total magnitude in K (-10..30)",
"name": "SEQ.INS.SOBJ.MAG",
"type": "number"
},
{
"default": 0,
"label": "SC object diameter (mas)",
"minihelp": "SC object diameter (mas); Required only for calibrator",
"name": "SEQ.INS.SOBJ.DIAMETER",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 1,
"min": 0
}
]
},
"default": 1,
"label": "SC object expected visibility",
"minihelp": "SC object expected visibility",
"name": "SEQ.INS.SOBJ.VIS",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 7000,
"min": -7000
}
]
},
"default": 0,
"label": "RA offset from FT to SC object (mas)",
"minihelp": "RA offset from FT to SC object (mas) : (-7000..7000)",
"name": "SEQ.INS.SOBJ.X",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 7000,
"min": -7000
}
]
},
"default": 0,
"label": "DEC offset from FT to SC object (mas)",
"minihelp": "DEC offset from FT to SC object (mas) : (-7000..7000)",
"name": "SEQ.INS.SOBJ.Y",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 25,
"min": -10
}
]
},
"default": 0,
"label": "AcqCam guide star magnitude in H",
"minihelp": "AcqCam guide star magnitude in H for lab field guiding",
"name": "SEQ.FI.HMAG",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 20,
"min": -20
}
]
},
"default": 0,
"label": "FT object parallax (arcseconds)",
"minihelp": "FT object parallax (arcseconds)",
"name": "TEL.TARG.PARALLAX",
"type": "number"
},
{
"allowedValues": {
"values": [
"LOW",
"MED",
"HIGH"
]
},
"default": "MED",
"label": "Science spectrometer resolution",
"minihelp": "Science spectrometer resolution (LOW MED HIGH)",
"name": "INS.SPEC.RES",
"type": "keyword"
},
{
"allowedValues": {
"values": [
"IN",
"OUT"
]
},
"default": "IN",
"label": "Fringe-tracker spectrometer Wollaston",
"minihelp": "Fringe-tracker spectrometer polarisation mode; split (IN) or combined (OUT)",
"name": "INS.FT.POL",
"type": "keyword"
},
{
"allowedValues": {
"values": [
"IN",
"OUT"
]
},
"default": "IN",
"label": "Science spectrometer Wollaston",
"minihelp": "Science spectrometer polarisation mode; split (IN) or combined (OUT)",
"name": "INS.SPEC.POL",
"type": "keyword"
},
{
"allowedValues": {
"values": [
"SCIENCE",
"SETUPFILE"
]
},
"default": "SCIENCE",
"label": "Coude guide star (GS) input",
"minihelp": "If guide star is science then choose SCIENCE else SETUPFILE",
"name": "COU.AG.GSSOURCE",
"type": "keyword"
},
{
"allowedValues": {
"values": [
"ra"
]
},
"default": "00:00:00.000",
"label": "GS RA if SETUPFILE",
"minihelp": "Coude guide star alpha as HH:MM:SS.TTT if not SCIENCE",
"name": "COU.AG.ALPHA",
"type": "coord"
},
{
"allowedValues": {
"values": [
"dec"
]
},
"default": "00:00:00.000",
"label": "GS DEC if SETUPFILE",
"minihelp": "Coude guide star delta as +-DD:MM:SS.TTT if not SCIENCE",
"name": "COU.AG.DELTA",
"type": "coord"
},
{
"allowedValues": {
"ranges": [
{
"max": 25,
"min": 0
}
]
},
"default": 0,
"label": "GS magnitude",
"minihelp": "Coude guide star magnitude",
"name": "COU.GS.MAG",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 10,
"min": -10
}
]
},
"default": 0,
"label": "GS proper motion in RA",
"minihelp": "GS proper Motion Alpha in arcseconds/year (-10.0 to 10.0).",
"name": "COU.AG.PMA",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 10,
"min": -10
}
]
},
"default": 0,
"label": "GS proper motion in DEC",
"minihelp": "GS proper Motion Delta in arcseconds/year (-10.0 to 10.0)",
"name": "COU.AG.PMD",
"type": "number"
},
{
"allowedValues": {
"values": [
"NONE",
"DEFAULT",
"AUTO_GUIDE",
"ADAPT_OPT",
"ADAPT_OPT_TCCD",
"IR_AO_OFFAXIS",
"IR_AO_ONAXIS1"
]
},
"default": "ADAPT_OPT",
"label": "Type of Coude guiding",
"minihelp": "Type of Coude guiding",
"name": "COU.AG.TYPE",
"type": "keyword"
},
{
"allowedValues": {
"values": [
"small",
"medium",
"large",
"astrometric",
"UTs"
]
},
"label": "Interferometric Array",
"minihelp": "List of interferometric arrays: first choice and possible alternatives",
"name": "ISS.BASELINE",
"type": "keywordlist"
},
{
"allowedValues": {
"values": [
"snapshot",
"imaging",
"time-series",
"astrometry"
]
},
"label": "Types of interferometric observations",
"minihelp": "Types of interferometric observations",
"name": "ISS.VLTITYPE",
"type": "keywordlist"
}
],
"templateName": "GRAVITY_dual_acq",
"type": "acquisition"
}
{
"parameters": [
{
"default": "Name",
"label": "FT object name",
"minihelp": "FT object name",
"name": "SEQ.FT.ROBJ.NAME",
"type": "string"
},
{
"allowedValues": {
"ranges": [
{
"max": 30,
"min": -10
}
]
},
"default": 0,
"label": "FT object total magnitude",
"minihelp": "FT object total magnitude in K (-10..30)",
"name": "SEQ.FT.ROBJ.MAG",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 300,
"min": 0
}
]
},
"default": 0,
"label": "FT object diameter (mas)",
"minihelp": "FT object diameter (mas); Required only for calibrator",
"name": "SEQ.FT.ROBJ.DIAMETER",
"type": "number"
},
{
"allowedValues": {
"ranges": [
{
"max": 1,
"min": 0
}
]
},
"default": 1,
"label": "FT object expected visibility",
"minihelp": "FT object expected visibility",
"name": "SEQ.FT.ROBJ.VIS",
"type": "number"
},
{
"allowedValues": {
"values": [
"AUTO",
"1",
"2",
"7",
"9"
]
},
"default": "AUTO",
"label": "FringeTracker mode",
"minihelp": "FringeTracker mode (AUTO 1 2 7 9)",
"name": "SEQ.FT.MODE",
"type": "keyword"
},
{
"default": "Name",
"label": "SC object name",
"minihelp": "SC object name",