Skip to content

Commit

Permalink
revert changes to the geolocation accuracy bias
Browse files Browse the repository at this point in the history
  • Loading branch information
gshiroma committed Sep 25, 2023
1 parent 9c6d764 commit 40831e0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/rtc/h5_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,13 +491,13 @@ def get_metadata_dict(product_id: str,
if not estimated_geometric_accuracy_bias_y:
estimated_geometric_accuracy_bias_y = '(UNSPECIFIED)'
else:
estimated_geometric_accuracy_bias_y = abs(float(
estimated_geometric_accuracy_bias_y))
estimated_geometric_accuracy_bias_y = float(
estimated_geometric_accuracy_bias_y)
if not estimated_geometric_accuracy_bias_x:
estimated_geometric_accuracy_bias_x = '(UNSPECIFIED)'
else:
estimated_geometric_accuracy_bias_x = abs(float(
estimated_geometric_accuracy_bias_x))
estimated_geometric_accuracy_bias_x = float(
estimated_geometric_accuracy_bias_x)
if not estimated_geometric_accuracy_stddev_y:
estimated_geometric_accuracy_stddev_y = '(UNSPECIFIED)'
else:
Expand Down Expand Up @@ -879,12 +879,12 @@ def get_metadata_dict(product_id: str,
# 'metadata/processingInformation/geoidReference': # for 4.2

# 4.3
'metadata/qa/geometricAccuracy/absBias/y':
['qa_geometric_accuracy_abs_bias_y',
'metadata/qa/geometricAccuracy/bias/y':
['qa_geometric_accuracy_bias_y',
STANDARD_RTC_S1_ONLY,
estimated_geometric_accuracy_bias_y,
('An estimate of the absolute localization error bias in the'
' northing direction')],
('An estimate of the localization error bias in the northing'
' direction')],

'metadata/qa/geometricAccuracy/stddev/y':
['qa_geometric_accuracy_stddev_y',
Expand All @@ -893,12 +893,12 @@ def get_metadata_dict(product_id: str,
('An estimate of the localization error standard deviation'
' in the northing direction')],

'metadata/qa/geometricAccuracy/absBias/x':
['qa_geometric_accuracy_abs_bias_x',
'metadata/qa/geometricAccuracy/bias/x':
['qa_geometric_accuracy_bias_x',
STANDARD_RTC_S1_ONLY,
estimated_geometric_accuracy_bias_x,
('An estimate of the absolute localization error bias in the'
' easting direction')],
('An estimate of the localization error bias in the easting'
' direction')],

'metadata/qa/geometricAccuracy/stddev/x':
['qa_geometric_accuracy_stddev_x',
Expand Down

0 comments on commit 40831e0

Please sign in to comment.