Skip to content

Commit

Permalink
Merge pull request #4 from astrofle/clonecube_bug_fix
Browse files Browse the repository at this point in the history
clonecube bug fix
  • Loading branch information
kathlynpurcell authored Sep 18, 2024
2 parents bedc709 + 085c37b commit 6310f84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/gbtgridder/gbtgridder.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ def gbtgridder(args):
(cubeInfo["xtype"] != coordType[0])
or (cubeInfo["ytype"] != coordType[1])
or (cubeInfo["proj"] != args.proj)
or (radesys is not None and (cubeInfo["radesys"] != radesys))
or (equinox is not None and (cubeInfo["equinox"] != equinox))
or (radesys is not None and cubeInfo["radesys"] is not None and (cubeInfo["radesys"] != radesys))
or (equinox is not None and cubeInfo["equinox"] is not None and (cubeInfo["equinox"] != equinox))
):
if verbose > 2:
print(
Expand All @@ -525,6 +525,10 @@ def gbtgridder(args):
pix_scale = cubeInfo["pix_scale"]
nx = cubeInfo["xsize"]
ny = cubeInfo["ysize"]
refXsky = cubeInfo["xref"]
refYsky = cubeInfo["yref"]
refXpix = cubeInfo["xrefPix"]
refYpix = cubeInfo["yrefPix"]

if refXsky is None:
if args.mapcenter is not None:
Expand Down

0 comments on commit 6310f84

Please sign in to comment.