diff --git a/VERSION b/VERSION index 6f1c700..1a3d716 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -master-v0.7.10 \ No newline at end of file +master-v0.7.11 \ No newline at end of file diff --git a/flows/load_image.py b/flows/load_image.py index ceb29fa..31414aa 100644 --- a/flows/load_image.py +++ b/flows/load_image.py @@ -337,7 +337,7 @@ def load_image(FILENAME): # Mask out "halo" of pixels with zero value along edge of image: image.mask |= edge_mask(image.image, value=0) - elif origin == 'OAdM' and telescope == 'TJO' and instrument == 'MEIA3': + elif (origin == 'OAdM' or origin.startswith('NOAO-IRAF')) and telescope == 'TJO' and instrument == 'MEIA3': image.site = api.get_site(22) # Hard-coded the siteid for Telescopi Joan OrĂ³ (TJO) at Observatori AstronĂ²mic del Montsec image.obstime = Time(hdr['JD'], format='jd', scale='utc', location=image.site['EarthLocation']) image.obstime += 0.5*image.exptime * u.second # Make time centre of exposure