HI,
I was just testing trying this out for the first time, as I could use some FITS interface for javascript, and it fails to open a gzipped event list.
Code (using jquery):
$(document).ready(reset);
function reset()
{
var url="/some/url/test.fits.gz";
var FITS=astro.FITS;
var fits=new FITS(url, loadedFits);
}
function loadedFits()
{
console.log("This file has "+this.hdus.length+" HDUs");
}
If I unzip test.fits.gz and update the URL it works, otherwise the page hangs until my browser times out. It's not a very large fits file.
HI,
I was just testing trying this out for the first time, as I could use some FITS interface for javascript, and it fails to open a gzipped event list.
Code (using jquery):
If I unzip test.fits.gz and update the URL it works, otherwise the page hangs until my browser times out. It's not a very large fits file.