SETI / rms-opus

PDS OPUS - Outer Planets Data Search Tool
Apache License 2.0
9 stars 7 forks source link

Rename import file and class names #1344

Closed juzen2003 closed 4 months ago

juzen2003 commented 4 months ago

Description of changes: Rename import files and classes. Here is the summary:

Format: Change (original) obs_instrument_{name} to (new) obs_volume_{volume/volset}, and for pds4: obs_bundle_{name}
obs_instrument_cassini_occ (ObsInstrumentCassiniOcc)            -> obs_volume_cassini_occ_common (ObsVolumeCassiniOccCommon)
obs_instrument_cocirs_cube (ObsInstrumentCOCIRSCube)            -> obs_volume_cocirs_01xxx (ObsVolumeCOCIRS01xxx)
obs_instrument_cocirs (ObsInstrumentCOCIRS)                     -> obs_volume_cocirs_56xxx (ObsVolumeCOCIRS56xxx)
obs_instrument_coiss (ObsInstrumentCOISS)                       -> obs_volume_coiss_12xxx (ObsVolumeCOISS12xxx)
obs_instrument_corss_occ (ObsInstrumentCORSSOcc)                -> obs_volume_corss_8xxx (ObsVolumeCORSS8xxx)
obs_instrument_couvis_covims_occ (ObsInstrumentUVISVIMSOcc)     -> obs_volume_couvis_covims_occ_common (ObsVolumeUVISVIMSOccCommon)
obs_instrument_couvis_occ (ObsInstrumentCOUVISOcc)              -> obs_volume_couvis_8xxx (ObsVolumeCOUVIS8xxx)
obs_instrument_couvis (ObsInstrumentCOUVIS)                     -> obs_volume_couvis_0xxx (ObsVolumeCOUVIS0xxx)
obs_instrument_covims_occ (ObsInstrumentCOVIMSOcc)              -> obs_volume_covims_8xxx (ObsVolumeCOVIMS8xxx)
obs_instrument_covims (ObsInstrumentCOVIMS)                     -> obs_volume_covims_0xxx (ObsVolumeCOVIMS0xxx)
obs_instrument_ebrocc (ObsInstrumentEBROCC)                     -> obs_volume_ebrocc_xxxx (ObsVolumeEBROCCXxxx)
obs_instrument_gossi (ObsInstrumentGOSSI)                       -> obs_volume_gossi_0xxx (ObsVolumeGOSSI0xxx)
obs_instrument_hstacs (ObsInstrumentHSTACS)                     -> obs_volume_hstjx_xxxx (ObsVolumeHSTJxXxxx)
obs_instrument_hstnicmos (ObsInstrumentHSTNICMOS)               -> obs_volume_hstnx_xxxx (ObsVolumeHSTNxXxxx)
obs_instrument_hststis (ObsInstrumentHSTSTIS)                   -> obs_volume_hstox_xxxx (ObsVolumeHSTOxXxxx)
obs_instrument_hstwfc3 (ObsInstrumentHSTWFC3)                   -> obs_volume_hstix_xxxx (ObsVolumeHSTIxXxxx)
obs_instrument_hstwfpc2 (ObsInstrumentHSTWFPC2)                 -> obs_volume_hstux_xxxx (ObsVolumeHSTUxXxxx)
obs_instrument_nhlorri (ObsInstrumentNHLORRI)                   -> obs_volume_nhxxlo_xxxx(ObsVolumeNHxxLOXxxx)
obs_instrument_nhmvic (ObsInstrumentNHMVIC)                     -> obs_volume_nhxxmv_xxxx (ObsVolumeNHxxMVXxxx)
obs_instrument_vg28xx_vgiss (ObsInstrumentVG28xxVGISS)          -> obs_volume_vg28xx_vgiss (ObsVolumeVG28xxVGISS)
obs_instrument_vg28xx_vgpps_vguvs (ObsInstrumentVG28xxVGPPS, 
                                   ObsInstrumentVG28xxVGPPSUVS, 
                                   ObsInstrumentVG28xxVGUVS)    -> obs_volume_vg28xx_vgpps_vguvs (ObsVolumeVG28xxVGPPS,          
                                                                                                  ObsVolumeVG28xxVGPPSUVS,
                                                                                                  ObsVolumeVG28xxVGUVS) 
obs_instrument_vg28xx_vgrss (ObsInstrumentVG28xxVGRSS)          -> obs_volume_vg28xx_vgrss (ObsVolumeVG28xxVGRSS)
obs_instrument_vg28xx (ObsInstrumentVG28xx)                     -> obs_volume_vg28xx (ObsVolumeVG28xx)
obs_instrument_vgiss (ObsInstrumentVGISS)                       -> obs_volume_vgiss_5678xxx (ObsVolumeVGISS5678xxx)

Format: Change (original) obs_mission_{name} to (new) obs_volume_{name}_common, and for pds4: obs_bundle_{name}_common
obs_mission_cassini (ObsMissionCassini)                         -> obs_volume_cassini_common (ObsVolumeCassiniCommon)
obs_mission_galileo (ObsMissionGalileo)                         -> obs_volume_galileo_common (ObsVolumeGalileoCommon)
obs_mission_hubble (ObsMissionHubble)                           -> obs_volume_hubble_common (ObsVolumeHubbleCommon)
obs_mission_new_horizons (ObsMissionNewHorizons)                -> obs_volume_new_horizons_common (ObsVolumeNewHorizonsCommon)
obs_mission_voyager (ObsMissionVoyager)                         -> obs_volume_voyager_common (ObsVolumeVoyagerCommon)

Known problems: NA

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b2be42d) 100.00% compared to head (c6d6ee5) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1344 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 41 41 Lines 23101 23101 Branches 1217 1217 ========================================= Hits 23101 23101 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

juzen2003 commented 4 months ago