mommermi / photometrypipeline

automated photometry pipeline for small to medium-sized observatories
GNU General Public License v3.0
62 stars 26 forks source link

pp_photmetry #52

Open yun201720 opened 4 years ago

yun201720 commented 4 years ago

I just run the test data with command 'pp_run mscience021*.fits', but I got the following errors, I could not figure out what is the problem, please help me.

processing curve-of-growth for frame mscience0217.fits Traceback (most recent call last): File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen chunked=chunked, File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request self._validate_conn(conn) File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn conn.connect() File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect conn = self._new_conn() File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connection.py", line 167, in _new_conn % (self.host, self.timeout), urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fda3cfd06d0>, 'Connection to ssd.jpl.nasa.gov timed out. (connect timeout=30)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/yun/anaconda3/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/yun/anaconda3/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ssd.jpl.nasa.gov', port=443): Max retries exceeded with url: /horizons_batch.cgi?batch=1&TABLE_TYPE=OBSERVER&QUANTITIES=%271%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C40%2C41%2C42%2C43%27&COMMAND=%223552%3B%22&SOLAR_ELONG=%220%2C180%22&LHA_CUTOFF=0&CSV_FORMAT=YES&CAL_FORMAT=BOTH&ANG_FORMAT=DEG&APPARENT=AIRLESS&REF_SYSTEM=J2000&EXTRA_PREC=NO&CENTER=%27290%27&TLIST=2457786.956633669&SKIP_DAYLT=NO (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fda3cfd06d0>, 'Connection to ssd.jpl.nasa.gov timed out. (connect timeout=30)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/yun/photometrypipeline/pp_run", line 435, in rerun_registration, asteroids, keep_wcs) File "/home/yun/photometrypipeline/pp_run", line 249, in run_the_pipeline diagnostics=True) File "/home/yun/photometrypipeline/pp_photometry.py", line 381, in photometry diagnostics=diagnostics) File "/home/yun/photometrypipeline/pp_photometry.py", line 134, in curve_of_growth_analysis eph = obj.ephemerides() File "/home/yun/.local/lib/python3.7/site-packages/astroquery/utils/class_or_instance.py", line 25, in f return self.fn(obj, *args, *kwds) File "/home/yun/.local/lib/python3.7/site-packages/astroquery/utils/process_asyncs.py", line 26, in newmethod response = getattr(self, async_method_name)(args, kwargs) File "/home/yun/.local/lib/python3.7/site-packages/astroquery/jplhorizons/core.py", line 599, in ephemerides_async timeout=self.TIMEOUT, cache=cache) File "/home/yun/.local/lib/python3.7/site-packages/astroquery/query.py", line 263, in _request json=json) File "/home/yun/.local/lib/python3.7/site-packages/astroquery/query.py", line 71, in request json=json) File "/home/yun/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 530, in request resp = self.send(prep, send_kwargs) File "/home/yun/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "/home/yun/anaconda3/lib/python3.7/site-packages/requests/adapters.py", line 504, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='ssd.jpl.nasa.gov', port=443): Max retries exceeded with url: /horizons_batch.cgi?batch=1&TABLE_TYPE=OBSERVER&QUANTITIES=%271%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C40%2C41%2C42%2C43%27&COMMAND=%223552%3B%22&SOLAR_ELONG=%220%2C180%22&LHA_CUTOFF=0&CSV_FORMAT=YES&CAL_FORMAT=BOTH&ANG_FORMAT=DEG&APPARENT=AIRLESS&REF_SYSTEM=J2000&EXTRA_PREC=NO&CENTER=%27290%27&TLIST=2457786.956633669&SKIP_DAYLT=NO (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fda3cfd06d0>, 'Connection to ssd.jpl.nasa.gov timed out. (connect timeout=30)'))

mommermi commented 4 years ago

Sorry for my late reply. This looks like some server issue with Horizons. Does the problem still exist?