Giter Club home page Giter Club logo

aia's People

Contributors

mjpauly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wafels

aia's Issues

Issues generating look up table

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.