mjpauly / aia Goto Github PK
View Code? Open in Web Editor NEWPlace for sharing python code I've written for doing things with AIA data.
Place for sharing python code I've written for doing things with AIA data.
Hello,
Thanks for your work on this repo!
I'm planning to use this rescaling data to apply a brightness correction to AIA images on helioviewer.
Unfortunately, the data available in this repo is over 2 years old and I'm having an issue regenerating it using the sun_intensity.py script.
I get the following stack trace when executing sun_intensity.py with up to date sunpy and astropy-3.2.1 on python 3.6.8
Traceback (most recent call last):
File "sun_intensity.py", line 342, in <module>
df = update_csv()
File "sun_intensity.py", line 256, in update_csv
df = main_no_mp()
File "sun_intensity.py", line 221, in main_no_mp
r = process_wave(wave)
File "sun_intensity.py", line 161, in process_wave
while no_images(fles):
File "sun_intensity.py", line 134, in no_images
out = out or getFitsHdr(fles[0])['quality'] != 0
File "sun_intensity.py", line 66, in getFitsHdr
f = fits.open(fle)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/hdu/hdulist.py", line 151, in fitsopen
lazy_load_hdus, **kwargs)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/hdu/hdulist.py", line 390, in fromfile
lazy_load_hdus=lazy_load_hdus, **kwargs)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/hdu/hdulist.py", line 1039, in _readfrom
fileobj = _File(fileobj, mode=mode, memmap=memmap, cache=cache)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/utils/decorators.py", line 521, in wrapper
return function(*args, **kwargs)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/file.py", line 178, in __init__
self._open_filename(fileobj, mode, overwrite)
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/file.py", line 555, in _open_filename
self._file = fileobj_open(self.name, IO_FITS_MODES[mode])
File "/home/helioviewer/.local/lib/python3.6/site-packages/astropy/io/fits/util.py", line 397, in fileobj_open
return open(filename, mode, buffering=0)
FileNotFoundError: [Errno 2] No such file or directory: '/SUM80/D184468329/S00000/image_lev1.fits'
Does this code download the images to analyze first, or is there something else I should be doing to get these images before starting this process?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.