jmmc-jmdcui-docker issueshttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-jmdcui-docker/-/issues2019-11-21T10:17:00+01:00https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-jmdcui-docker/-/issues/23Add a validation step for the user before moderation request in async mode2019-11-21T10:17:00+01:00Guillaume MellaAdd a validation step for the user before moderation request in async modeMoving to async mode, the submission workflow swallowed the user verification test.
Please add a user stage to display status of validation (the link can be sent after whole check).
If errors occured then display report to fix and submi...Moving to async mode, the submission workflow swallowed the user verification test.
Please add a user stage to display status of validation (the link can be sent after whole check).
If errors occured then display report to fix and submit again the data else send a moderaion request and display report.
Then moderators should only receive well formed data and they will be happy.Raphael JacquotRaphael Jacquot2019-11-28https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-jmdcui-docker/-/issues/16Support every test files2019-09-25T15:59:06+02:00Guillaume MellaSupport every test filesGuillaume MellaGuillaume Mellahttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-jmdcui-docker/-/issues/5Track follow up of july sprint2019-09-25T16:00:38+02:00Guillaume MellaTrack follow up of july sprint## Main user functions of the tool
### Provide doc page
- [ ] add injest data format ( header )
- [ ] provide units for each numerical values
### Provide release notes page
- [x] a single page will provide main change
- [x] the release...## Main user functions of the tool
### Provide doc page
- [ ] add injest data format ( header )
- [ ] provide units for each numerical values
### Provide release notes page
- [x] a single page will provide main change
- [x] the release note must display a version number (take image version if easy to do)
### Display catalogue content
- [x] a table must help to navigate in the data
- [x] columns must be sortable
### Record a single user record
At first no specific form will be developped for a single record. Off course the multi record input will be compatible with a single line ;)
- [x] User input will not provide UD1 UD2 BANDCODE
- [x] some input should be enum or more precise specific values (band)
mandatory field:
- [x] STARNAME (replaced by main_id for ID1 and kept original in ID2)
- [ ] UD or LD
- [ ] E_MEAS (excepted for old values injected as -1)
- [x] BAND (letter or numerical valie) - see https://svn.jmmc.fr/jmmc-sw/MCS/tags/ASPRO2_V0_9_9_6/jmal/src/main/java/fr/jmmc/jmal/ as example
- [x] REFERENCE (BIBCODE should be checked)
optional:
- [x] MU_LAMBDA ( helps when UD and LD )
- [x] METHOD (1 for defaut (interferometry))
Constraints:
- [x] NOTES : have fixed size (TBD)
- [x] decimal values accepts only N.N (except for original dataset injest)
- [ ] ( -1, NAN, +inf, -inf values could be removed / considered as empty )
### CSV file header format
- [x] Header must be provided
- [x] for initial injest `ID1,ID2,UD_MEAS,LD_MEAS,E_LD_MEAS,BAND,MU_LAMBDA,METHOD,BANDCODE,NOTES,REFERENCE`
- [x] for user submissions `ID,UD_MEAS,LD_MEAS,E_LD_MEAS,BAND,MU_LAMBDA,METHOD,NOTES,REFERENCE`
- [x] insensitive to column order
- [x] ignore or warn extra columns (TBD)
see doc.
### Keep housekeeping data
Next information should be stored:
- [x] user name (email)
- [x] submission date
### Record a multi measurements user record
- [x] First version should accept the following spreadsheet extract of previous catalogue as user input
```
ID1,ID2,UD_MEAS,LD_MEAS,E_LD_MEAS,BAND,MU_LAMBDA,METHOD,BANDCODE,NOTES,REFERENCE
HD18884,ALF CET,"9,4",-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
HD29139,ALF TAU,24,-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
HD124897,ALF BOO,19,-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
CCDM J16294-2626 A,ALF SCO,28,-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
HD186791,GAM AQL,"8,4",-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
HD206778,EPS PEG,"8,4",-1,-1,,,1,,,"................... Carnegie Year Books for 1933, 1935, 1937"
HD29139,ALF TAU,20,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
HD39801,ALF ORI,34,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
HD124897,ALF BOO,20,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
CCDM J16294-2626 A,ALF SCO,40,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
HD156014,ALF HER A,30,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
HD217906,BET PEG,21,-1,-1,,,1,,,"1931............... Pease, F.G.: 1931, Ergebn. Exacten Naturwiss. 10, 84"
HD28307,THE 1 TAU,"2,3","2,39","0,1",,,2,,,"1946............... Wood, F.B.: 1946, Contrib.Princeton Univ.Obs. 21, 18"
HD102212,NU VIR,8,-1,-1,,,2,,,"1951............... Jager, F.W.: 1951, Die Sterne 27, 51"
HD110014,CHI VIR,5,-1,-1,,,2,,,"1951............... Jager, F.W.: 1951, Die Sterne 27, 51"
```
### Validation:
validate a batch or a single line.
purgatoir et enfer.
- [x] Error should be displayed properly ( because staging area will only contains valid entries.)
#### Validate input according following rules
* [x] target names are resolved by simbad (or already present in the catalogue)
Note GD a traduire ;
>>>
regarder si STILTS ou équivalent permettrait d'accepter plusieurs autres formats de manière transparente.
la table csv doit comporter les colonnes de JMDC, soit:
ID1 ID2 UD_MEAS LD_MEAS E_LD_MEAS BAND MU_LAMBDA METHOD BANDCODE NOTES REFERENCE
ID1 devra être renseigné. Il sera validé par le CDS, qui retourne une liste de synonymes. ID1 sera préférentiellement le synonyme de type HDxxxxx. En l'absence de HDxxxx, utiliser dans l'ordre HIPxxxx, GAIAxxxxxx. ID2 sera mis à la valeur de ID1 originale si ID2 est non renseigné. Si ID2 est renseigné, vérfier avec le CDS que ID2 est bien un synonyme de ID1.
UD_MEAS et LD_MEAS ne peuvent être tous deux vides. Ce sont des rééls.
E_LD_MEAS doit etre renseigné et être un réel.
BAND peut être vide
MU_LAMBDA peut être vide.
METHOD est 1 par défaut et on accepte 2 et 3, avec warning. Le Readme du JSDC explique ce que c'est
BANDCODE est présent et vaut 1..12 correspondant aux bandes UBVRIJKLMNQ
NOTES est un texte de < 200 caractères
REFERENCE est un BiBCode VALIDE ou rien, auquel cas ce sera "YYYY ..............."+ adresse mail de la personne qui soumet.
>>>
#### Clean / relive pending submission which would not have been validated by user email
### Follow status of submissions
- [x] User receives an email after submission
- [x] Application should approve the entry when user click confirmation link
- [x] The administrator receive an email
- [x] Pending submissions should be moderated before display.
### Approval/confirmation by moderator
- [x] Moderator can confirm all record with some exceptions
### Export content through VO TAP interface
This block will be on top of [existing library](https://github.com/gmantele/vollt) used for OiDB service at JMMC.
Standards supported formats will be fine for the administrator of the database and input for futur update at CDS. The datamodel may be setup on top of [ObsCore](http://ivoa.net/documents/ObsCore/)Guillaume MellaGuillaume Mella