Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 763 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 763 Bytes

Lookup FITS Header

This folder defines a Google Cloud Function.

This function is used to lookup the FITS header from a file in the storage bucket.

This endpoint looks for one parameters, bucket_path. If bucket_path is present then the header information will be pulled from the file and returned as a json document.

Endpoint: /get-fits-header

Payload: JSON message of the form:

{
	bucket_path: str,
}

Response:

The JSON response will contain the success flag as well as the FITS headers as key/value pairs.

{
	success: <bool>,
	header: {
		<FITSHEAD>: <any>
	}
}

Deploy

See Deployment in main README for preferred deployment method.