LM-SAL / aiapy

Python library for AIA data analysis
https://aiapy.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

set logo url to aia docs and update example, aia sample data - [merged] #260

Closed nabobalis closed 8 months ago

nabobalis commented 2 years ago

Merges url -> master

Fixes #122

nabobalis commented 2 years ago

In GitLab by @codecov on Nov 2, 2021, 11:45

Codecov Report

Merging #136 (22c6920) into master (f9c061f) will decrease coverage by 1.62%. The diff coverage is 77.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   97.45%   95.83%   -1.63%     
==========================================
  Files          16       19       +3     
  Lines         551      600      +49     
==========================================
+ Hits          537      575      +38     
- Misses         14       25      +11     
Impacted Files Coverage Δ
aiapy/data/_sample.py 64.51% <64.51%> (ø)
aiapy/data/__init__.py 100.00% <100.00%> (ø)
aiapy/data/sample.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f9c061f...22c6920. Read the comment docs.

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 2, 2021, 12:24

Commented on docs/conf.py line 121

What is this supposed to be doing? I don't see any change in the docs

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 2, 2021, 12:26

Commented on examples/prepping_level_1_data.py line 51

I'm not a huge fan of this just being commented out. I think we should either use it or not show it at all.

nabobalis commented 2 years ago

Its not commented it, it renders in the example. I can remove it regardless?

nabobalis commented 2 years ago

If I hover over the aiapy, it links to the docs instead of sunpy.org.

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 2, 2021, 14:08

Commented on examples/prepping_level_1_data.py line 51

Ah I see. If this is not failing at the moment, I would rather not rush it through and instead address #122 by having something like aiapy.data.sample (similar to sunpy.data.sample) that holds a minimum set of data that we can use for the gallery.

nabobalis commented 2 years ago

It did fail on 0.6 this morning. But the PRs were ok.

nabobalis commented 2 years ago

changed this line in version 2 of the diff

nabobalis commented 2 years ago

added 2 commits

Compare with previous version

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

resolved all threads

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

I had to copy more functions than I would like. It would need a proper refactor in sunpy first.

nabobalis commented 2 years ago

TODO:

1 - UPDATE ALL THE OTHER EXAMPLES 2 - MAKE RTD PASS IF GALLERY FAILS

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 3, 2021, 12:21

Using the sample data should take care of basically all of the gallery fails.

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 4, 2021, 07:03

Commented on aiapy/data/_sample.py line 59

Does this mean that we are using the same directory as the sunpy sample data? I'm fine with this, we just have to make sure we don't have any name clashes with the sunpy sample data.

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 4, 2021, 07:03

Commented on examples/prepping_level_1_data.py line 39

# First, let's read a level 1 94 Å AIA image from the aiapy sample data into
# a `~sunpy.map.Map` object.
nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 4, 2021, 07:03

Commented on examples/replace_hot_pixels.py line 40

# First, let's read a level 1 193 Å AIA image from the aiapy sample data
# into a `~sunpy.map.Map` object.
nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 4, 2021, 07:04

Commented on examples/update_header_keywords.py line 34

# For this example, we will read a 171 Å image from the aiapy sample data
# into a `~sunpy.map.Map` object.
nabobalis commented 2 years ago

Yes, that is something we might want to change in sunpy itself to take a "module" or we just copy and modify the function in aiapy.

nabobalis commented 2 years ago

changed this line in version 7 of the diff

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

changed this line in version 8 of the diff

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

changed this line in version 9 of the diff

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 4, 2021, 10:44

Commented on aiapy/data/_sample.py line 59

Could we maybe just add an aiapy subdirectory?

nabobalis commented 2 years ago

Sure.

nabobalis commented 2 years ago

changed this line in version 10 of the diff

nabobalis commented 2 years ago

added 1 commit

Compare with previous version

nabobalis commented 2 years ago

Done.

nabobalis commented 2 years ago

resolved all threads

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 5, 2021, 07:34

approved this merge request

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 5, 2021, 07:34

mentioned in commit 82663db8eecf1f6e9a75522a111164bdba54bb25

nabobalis commented 2 years ago

picked the changes into the branch cherry-pick-82663db8 with commit 5586eaedb10b48c97bee8e01317d05c66308e54b

nabobalis commented 2 years ago

In GitLab by @wtbarnes on Nov 5, 2021, 08:12

mentioned in commit 5586eaedb10b48c97bee8e01317d05c66308e54b

nabobalis commented 2 years ago

mentioned in commit 4b4740841deabae9c62bf34a89d72720562ba1b7