jmmc-obsportal issueshttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues2021-10-06T10:54:32+02:00https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/41Replace funcname prefix convention on every log messages by appropriate loggi...2021-10-06T10:54:32+02:00Guillaume MellaReplace funcname prefix convention on every log messages by appropriate logging formaterI propose to use funcName in our logging formatter and remove all hardwritten references on log.*("mymethodename(): blahblihblue")
e.g:
`format = %(asctime)s %(levelname)-5.5s [%(threadName)s][%(name)s:%(lineno)s] %(funcName)s(): %(mes...I propose to use funcName in our logging formatter and remove all hardwritten references on log.*("mymethodename(): blahblihblue")
e.g:
`format = %(asctime)s %(levelname)-5.5s [%(threadName)s][%(name)s:%(lineno)s] %(funcName)s(): %(message)s`
This refactoring would make code maintenance much easier.
This could be done after feature branch dedicated to try spica-injest.Guillaume MellaGuillaume Mellahttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/40Move alembic_version table into the obsportal schema (if possible)2022-02-02T12:17:19+01:00Guillaume MellaMove alembic_version table into the obsportal schema (if possible)https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/39Pagination on web pages2021-09-10T11:11:07+02:00Laurent BourgèsPagination on web pagesIf time remains, it would be great to have proper pagination on web pages (not only limited to 1000 recent results)If time remains, it would be great to have proper pagination on web pages (not only limited to 1000 recent results)https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/22Header / Observation validation2021-10-08T15:42:22+02:00Laurent BourgèsHeader / Observation validationImprove header / observation validation code to
* check all keywords if they are present or empty
* report such missing values in the header.validationLog field
* report any missing instrument mode (db query) as it should be fixed i...Improve header / observation validation code to
* check all keywords if they are present or empty
* report such missing values in the header.validationLog field
* report any missing instrument mode (db query) as it should be fixed in the obsportal configuration or the wrapper code (mapping rule)
* flag the Observation (valid = True) only if it is complete (to be defined).
Up to now mandatory / optional keyword lists are hard-coded but it should be more precise and updated according to the instrument.
Test:
* 1 (empty) header per instrument having only DP_CAT, DP_TYPE ... to be considered as an observationGuillaume MellaGuillaume Mellahttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/21Create DB views to check target unicity2020-02-17T14:44:04+01:00Philippe BollardCreate DB views to check target unicityDeclare the DB views using SQLAlchemy notation, or at least, execute the script "create_target_views.sql" after an import
See:
- https://pypi.org/project/sqlalchemy-views/
- https://stackoverflow.com/questions/9766940/how-to-create-an-...Declare the DB views using SQLAlchemy notation, or at least, execute the script "create_target_views.sql" after an import
See:
- https://pypi.org/project/sqlalchemy-views/
- https://stackoverflow.com/questions/9766940/how-to-create-an-sql-view-with-sqlalchemy
- https://github.com/kvesteri/sqlalchemy-utils/blob/master/sqlalchemy_utils/view.py
- https://github.com/kvesteri/sqlalchemy-utils/blob/master/tests/test_views.pyhttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/18Store in DB more informations about ESO program2020-04-07T18:08:58+02:00Philippe BollardStore in DB more informations about ESO programLinked to 'program_id', add a table 'program' describing the ESO program related to the header/observation
- title, pi
- ...
Add the related Web UI (pages + search)
Search observation by program_idLinked to 'program_id', add a table 'program' describing the ESO program related to the header/observation
- title, pi
- ...
Add the related Web UI (pages + search)
Search observation by program_idhttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/9Optimize VOTable building process2020-02-06T16:18:52+01:00Philippe BollardOptimize VOTable building processCurrently, the VOTable output relies on Astropy (and numpy) : https://docs.astropy.org/en/stable/io/votable/
As some methods are missing (or misunderstood) in the API, the current workflow is :
- create a VOTable object in memory
- add ...Currently, the VOTable output relies on Astropy (and numpy) : https://docs.astropy.org/en/stable/io/votable/
As some methods are missing (or misunderstood) in the API, the current workflow is :
- create a VOTable object in memory
- add a row to this table for each result
- writing the whole structure into a file
- reopen the file and read the content to serve it through the response object
The process could be more efficient using a file stream patternhttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/8Brainstorming about Web interface2020-04-07T18:09:04+02:00Philippe BollardBrainstorming about Web interfaceThe requested features and use cases about the Web interface must be defined.
To do what? By who? How? ...The requested features and use cases about the Web interface must be defined.
To do what? By who? How? ...https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/4Support CHARA observations2020-04-07T18:09:17+02:00Philippe BollardSupport CHARA observationsFind a way to retrieve observation data from CHARA.
Leads: use night logs, see VEGA in OiDBFind a way to retrieve observation data from CHARA.
Leads: use night logs, see VEGA in OiDBhttps://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/JMMC/jmmc-obsportal/-/issues/3Provide a TAP access to the service2020-04-10T17:54:10+02:00Philippe BollardProvide a TAP access to the serviceObsPortal should be accessible through a TAP server to allow interoperability with other softwaresObsPortal should be accessible through a TAP server to allow interoperability with other softwares