I am working at CC-in2p3, right now, with version '1.12.9'.
I have had issues when downloading "psfcat.fits" files using nprocess>1.
Surpisingly, it works all fine when I download "sciimg.fits" files, or if I use nprocess=1.
Here is the code to reproduce the problem.
import numpy as np
import ztfquery
ztfquery.__version__
from ztfquery import query
zquery = query.ZTFQuery()
from astropy import time
starttime = time.Time(59114,format='mjd').jd
endtime = time.Time(59114+1,format='mjd').jd
zquery.load_metadata(radec=[354.6703139, 15.9540473],sql_query=f"obsjd>{starttime} and obsjd<{endtime}")
# this should yield 4 expositions
zquery.get_data(["sciimg.fits","mskimg.fits","psfcat.fits"],show_progress=False,indexes=np.arange(4),maxnprocess=4)
This crashes with error message attached below.
If I run instead
Hi,
I am working at CC-in2p3, right now, with version '1.12.9'. I have had issues when downloading "psfcat.fits" files using nprocess>1. Surpisingly, it works all fine when I download "sciimg.fits" files, or if I use nprocess=1.
Here is the code to reproduce the problem.
This crashes with error message attached below. If I run instead
It works fine.
Best,
Ben
Here is the error message: