|
10 | 10 | * Property: European Space Agency (ESA)
|
11 | 11 | * Developed by: Elecnor Deimos
|
12 | 12 | * Author: C. Álvaro Arroyo Parejo
|
13 |
| -* Issue: 2.1.0 |
14 |
| -* Date: 01-03-2021 |
| 13 | +* Issue: 2.2.0 |
| 14 | +* Date: 19-08-2022 |
15 | 15 | * Purpose: Module which request and parse list data from ESA NEOCC
|
16 | 16 | * Module: tabs.py
|
17 | 17 | * History:
|
|
50 | 50 | Adding redundancy for tab *summary* parsing.
|
51 | 51 | 2.0.0 21-01-2022 Prepare module for Astroquery integration
|
52 | 52 | 2.1.0 01-03-2022 Remove *parse* dependency
|
| 53 | +2.2.0 19-08-2022 Minor corrections |
53 | 54 | ======== =========== =====================================================
|
54 | 55 |
|
55 | 56 | © Copyright [European Space Agency][2022]
|
@@ -300,6 +301,7 @@ def _get_footer(data_obj):
|
300 | 301 |
|
301 | 302 | # Drop NaN values if necessary
|
302 | 303 | df_txt = df_txt.dropna(how='all')
|
| 304 | + |
303 | 305 | # Template for observations data:
|
304 | 306 | # Based on {total} optical observations (of which {rejected}
|
305 | 307 | # are rejected as outliers)
|
@@ -620,7 +622,6 @@ def _phys_prop_parser(self, data_obj):
|
620 | 622 | # Initialize index
|
621 | 623 | index = 0
|
622 | 624 | if len(df_check.columns) > 4:
|
623 |
| - # rest = len(df_check.columns) - 4 |
624 | 625 | # Iterate over each element in last col to find
|
625 | 626 | # rows with additional elements separated by commas
|
626 | 627 | for element in df_check.iloc[:, -1]:
|
@@ -753,7 +754,6 @@ def _get_head_obs(df_d):
|
753 | 754 | else:
|
754 | 755 | mag = float(df_head.iloc[3][0].split('=')[1].strip())
|
755 | 756 |
|
756 |
| - |
757 | 757 | return ver, err, ast, mag
|
758 | 758 |
|
759 | 759 | @staticmethod
|
@@ -1829,7 +1829,6 @@ def _get_head_ephem(data_obj):
|
1829 | 1829 | # Template for initial date: Time step: {step}
|
1830 | 1830 | tstep = head_ephe.iloc[4][0].split(':')[1].strip()
|
1831 | 1831 |
|
1832 |
| - |
1833 | 1832 | return obs, idate, fdate, tstep
|
1834 | 1833 |
|
1835 | 1834 | def _ephem_parser(self, name, observatory, start, stop, step, step_unit):
|
|
0 commit comments