Skip to content
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

Reformat emissivity genx files as HDF5 #70

Open
nabobalis opened this issue Oct 13, 2020 · 3 comments
Open

Reformat emissivity genx files as HDF5 #70

nabobalis opened this issue Oct 13, 2020 · 3 comments
Labels

Comments

@nabobalis
Copy link
Contributor

In GitLab by @wtbarnes on Oct 13, 2020, 08:48

In order to use the emissivity files to calculate temperature response functions, they need to be reformatted as HDF5 files. They are currently in genx format and although we can read this format in Python via sunpy.io.special, the reader does not seem able to handle these files either because of their size or complexity. We also need to find a place to store these files so they can be downloaded as needed. Even sticking them directly into SSW would be sufficient.

This is not strictly related to the aiapy codebase as I do not anticipate this issue actually resulting in any code being added to aiapy or any code being modified. However, it is critical to #23 being resolved.

@nabobalis
Copy link
Contributor Author

In GitLab by @wtbarnes on Oct 13, 2020, 08:51

This will block #23

@nabobalis
Copy link
Contributor Author

In GitLab by @wtbarnes on Oct 13, 2020, 08:59

Some helpful bits of code:

When reading everything back into Python and double-checking things, I would suggest h5py

@nabobalis
Copy link
Contributor Author

In GitLab by @wtbarnes on Sep 29, 2021, 07:44

Just to correct one of the statements above, I did actually manage to read one of these files with sunpy.io.special.read_genx. It just takes significantly longer than restgen in IDL, a little over 1 minute as compared to just a few seconds in IDL.

@nabobalis nabobalis removed this from the v1.0 milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant