-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won't read gzipped FITS files #27
Comments
Hi Bretton -
I just clicked on the "Report issue" button on the github page - for
https://github.com/astrojs/fitsjs - which I got to from a link from the
NASA FITS pags https://fits.gsfc.nasa.gov/fits_libraries.html
That looks to me to be newer than the astrojs/astrojs package, is that
not correct?
Thanks
Phil
…On 10/03/2017 16:19, Bretton Wade wrote:
Hi Phil,
I think you meant to post this to https://github.com/astrojs/astrojs
<https://github.com/astrojs/astrojs>
Regards,
Bretton
> On Mar 10, 2017, at 6:22 AM, Phil Evans ***@***.***>
wrote:
>
> 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.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
<#27>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB71rbFcaYRBwHvEOkHWhxDN6YYwlQaFks5rkTJqgaJpZM4MZRjd>.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEdeWPKxZEBHiV1hSnmWBbUGyRPAEYGjks5rkXf6gaJpZM4MZRjd>.
--
-------------------------
Phil Evans,
Swift Development Scientist
X-ray and Observational Astronomy Group,
University of Leicester
Tel: +44 (0)116 252 5059
Mobile: +44 (0)7780 980240 (work)
Mobile: +44 (0)7974 977723 (personal)
[email protected]
http://www.star.le.ac.uk/~pae9
http://www.swift.ac.uk
Follow me as a Swift scientist on Twitter: @swift_phil
http://www.star.le.ac.uk/~pae9/twitter
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: