Skip to content

mHDR either hangs or say service is unavailable #89

@mwls

Description

@mwls

Hi, I'm trying to run a montagepy mosaic script that I've used a lot before but I'm getting an issue that mHdr just hangs - here's my simple usage script.

spxmws@WR4C5F70C3A447:~$ python3
Python 3.10.12 (main, May 27 2025, 17:12:29) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from MontagePy.main import *
rtn = mHdr('180.0 +0.0 Equ J2000', 0.02, 0.02, 'test.hdr', debug=1)
DEBUG> request = [GET /cgi-bin/HdrTemplate/nph-hdr?location=180.0+%2B0.0+Equ+J2000&width=0.0200000000&height=0.0200000000&system=EquJ&equinox=2000.00&resolution=1.000000000000&rotation=0.000000&band= HTTP/1.0
HOST: montage.ipac.caltech.edu:80

]

I thought it might be our Uni firewall, if I hotspot my laptop I get a 'service unavailable message'. I can also download fine from the archive with commands like mArchiveDownload. I've been trying to specify the location, but I can't find a way to specify the location without it performing a request. Any help greatly appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions