Re: {SunPy} Simple Question

29 visningar
Hoppa till det första olästa meddelandet

Stuart Mumford

oläst,
1 nov. 2016 11:20:142016-11-01
till su...@googlegroups.com

Hello,

Could you attach a full script so I can better see what your problem is?

Thanks,

Stuart


On 31/10/16 05:20, k wrote:
HI

Simple Question

In downloading fits files from SDO, the files can't be displayed because the AIA is not standard FITS.

How do I fix this?


#time_range = TimeRange('2014/08/23 00:00, '2014/08/24 00:30')

#qr = client.query(vso.attrs.Time(time_range), vso.attrs.Instrument('aia'),vso.attrs.Wave(171*u.AA,171*u.AA) )

#res=client.get(qr, path='/AIA_Data/{file}.fits')


AttributeError: 'module' object has no attribute 'fix'


Thank you
--
You received this message because you are subscribed to the Google Groups "SunPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sunpy+un...@googlegroups.com.
To post to this group, send email to su...@googlegroups.com.
Visit this group at https://groups.google.com/group/sunpy.
For more options, visit https://groups.google.com/d/optout.

William Bridgman

oläst,
1 nov. 2016 11:28:052016-11-01
till su...@googlegroups.com
Is this the 'Rice compression' issue?  

When reading the FITS file in pyfits, you have
fimg = pyfits.open(filename)

and for the extension, which can be primary or later for AIA or HMI, there is a

fimg[ext].verify('fix') command.

My comments say 'fix OSCNMEAN header keyword for Rice compressed files'.  It should at least provide some info for searching for a full fix in the query.

Tom

On Mon, Oct 31, 2016 at 7:20 AM, k <katie...@gmail.com> wrote:
HI

Simple Question

In downloading fits files from SDO, the files can't be displayed because the AIA is not standard FITS.

How do I fix this?




#time_range = TimeRange('2014/08/23 00:00, '2014/08/24 00:30')

#qr = client.query(vso.attrs.Time(time_range), vso.attrs.Instrument('aia'),vso.attrs.Wave(171*u.AA,171*u.AA) )

#res=client.get(qr, path='/AIA_Data/{file}.fits')



AttributeError: 'module' object has no attribute 'fix'


Thank you

--
You received this message because you are subscribed to the Google Groups "SunPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sunpy+unsubscribe@googlegroups.com.

To post to this group, send email to su...@googlegroups.com.
Visit this group at https://groups.google.com/group/sunpy.
For more options, visit https://groups.google.com/d/optout.



--
Dr. William T."Tom" Bridgman
Scientific Visualization Studio
NASA/Goddard Space Flight Center
Greenbelt, MD  20771
http://svs.gsfc.nasa.gov
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden