Skip to content

Commit

Permalink
Merge pull request #107 from LCOGT/fix/broker-url
Browse files Browse the repository at this point in the history
Handle UNKNOWN coordinate, update broker URL
  • Loading branch information
mgdaily authored Jul 25, 2023
2 parents 0a0cbb1 + 22911a2 commit 5533ad0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.2 (2023-07-25)
------------------
- Update NRES Frame Factory to handle UNKNOWN as a valid empty coordinate

1.1.0 (2023-04-04)
------------------
- Added calibration frame comparison to reject them if they deviate too much from previous stacks
Expand Down
2 changes: 1 addition & 1 deletion banzai_nres/frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def calibration_frame_class(self):

@staticmethod
def is_empty_coordinate(coordinate):
return 'nan' in str(coordinate).lower() or 'n/a' in str(coordinate).lower()
return any(coordinate.lower() in value for value in ['nan', 'n/a', 'unknown'])

def open(self, path, runtime_context) -> Optional[ObservationFrame]:
image = super().open(path, runtime_context)
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/banzai-nres/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ banzaiNres:
calibrateProposalId: calibrate
banzaiWorkerLogLevel: info
rawDataApiRoot: http://archiveapi-internal.prod/
fitsBroker: rabbitmq.lco.gtn
fitsBroker: rabbitmq-ha.prod.svc.cluster.local.
fitsExchange: archived_fits
queueName: banzai_nres_pipeline
phoenixFileLocation: s3://banzai-nres-phoenix-models-lco-global
Expand Down

0 comments on commit 5533ad0

Please sign in to comment.