Recent Releases of solarmach

solarmach - 0.5.1

What's Changed

  • Extend plot_3d and pfss_3d details in the example notebook and documentation
  • Make PFSS footpoints accessible (#81)
  • Add L2, L4, L5 to Solar-MACH
  • Fix typos in 'Stonyhurst' (#79)
  • Add a warning to the gif creation example that Carrington coordinates should not be used for this (#78 #79)
  • Add python 3.13 to supported versions
  • Further use astropy units internally
  • Move package structure from setup.cfg to pyproject.toml (#82)

New Contributors

  • @dependabot[bot] made their first contribution in https://github.com/jgieseler/solarmach/pull/74
  • @drazerd made their first contribution in https://github.com/jgieseler/solarmach/pull/79

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.5.0...v0.5.1

- Python
Published by jgieseler 7 months ago

solarmach - 0.5.0

What's Changed

  • Fix Occasionally missing grid circles #5
  • With the previous, change longitude on plot for Stoneyhurst coords to be -180 - 0 - 180 (instead of 360 - 0 - 180)
  • Tremendously reduce PFSS calculation time
  • New options for 3D figures: 3dgrid, equatorialplane, vertical_lines
  • General overhaul/improvement of 3D figure
  • Fix bug in reference Parker spiral in PFSS/3D figure
  • Fix reference arrow in 3D figure
  • Fix reference area shading in PFSS figure
  • Add logo to 3D figure
  • Improve legend of 3D figure
  • Fix a bug where the outer bold ring of the figure would lie inside the figure
  • Fix negative solar wind speed occurring for some vsw data being NaN
  • Streamlit: don't rerun on click on Download buttons

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.4.3...v0.5.0

- Python
Published by jgieseler about 1 year ago

solarmach - 0.4.3

What's Changed

  • Move backmapping and solar_diff_rot from the SolarMACH object to the base package so that they can be used externally (fixes https://github.com/jgieseler/solarmach/issues/62).
  • Create a new backmapping_angle function so that this calculation is now centralized (and not spread as multiple copies over the whole code).
  • Introduce astropy.units to backmapping, backmapping_angle, and solar_diff_rot
  • Extend docstrings (https://github.com/jgieseler/solarmach/issues/45)
  • Fix pytest falling for PFSS figure comparison

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.4.2...v0.4.3

- Python
Published by jgieseler over 1 year ago

solarmach - 0.4.2

What's Changed

  • Ensure compatibility with sunpy 6.0 and numpy 2.0

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.4.1...v0.4.2

- Python
Published by jgieseler over 1 year ago

solarmach - 0.4.1

What's Changed

  • Fix how DataFrames are addressed in get_sw_speed so that the function won't fail in the future if the keys of the DataFrame change (https://github.com/jgieseler/solarmach/commit/7293b7fb46e0a2f22fb2f0b449965fed02ca5d37)
  • Add Europa Clipper mission to list of supported spacecraft

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.4.0...v0.4.1

- Python
Published by jgieseler over 1 year ago

solarmach - 0.4.0

What's Changed

  • Remove supported Python versions 3.8 & 3.9 (in alignment with latest sunpy versions)
  • Extend supported Python versions to 3.10, 3.11, 3.12
  • Use sunkit-magex instead of pfsspy for PFSS analysis (because the latter is discontinued)
  • Unpin matplotlib version in requirements #57
  • Remove astroquery from requirements #48

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.3.4...v0.4.0

- Python
Published by jgieseler over 1 year ago

solarmach - 0.3.4

What's Changed

  • Improve importing of speasy by disabling unused data providers before, which will speed up the initial automatic determination of solar wind speeds (using get_sw_speed)
  • Improve handling of input date & time (using now sunpy.time.parse_time everywhere)
  • Catch failing get_horizons_coord
  • Adjust to upcoming Pandas changes
  • Include real image tests
  • Upgrade GitHub actions

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.3.3...v0.3.4

- Python
Published by jgieseler almost 2 years ago

solarmach - 0.3.3

What's Changed

  • Bugfix: get_sw_speed has been fixed to work again for Solar Orbiter (due to some changed ID)
  • Some internal changes in the pfsspy part

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.3.2...v0.3.3

- Python
Published by jgieseler about 2 years ago

solarmach - 0.3.2

What's Changed

  • Bugfix: PFSS extension now gives correct results when Stonyhurst coordinates are used (coord_sys='Stonyhurst'). Now, when calculating the PFSS solution, it is necessary to define the coordinate system that should be used. For example, calculate_pfss_solution(gong_map=gong_map, rss=rss, coord_sys='Stonyhurst')

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.3.1...v0.3.2

- Python
Published by jgieseler over 2 years ago

solarmach - 0.3.1

What's Changed

  • Add new option markers to the plot to use a single letter for the body/spacecraft marker instead of numbers (e.g., "P" for Parker Solar Probe). Note that duplicate letters can occour. This option replaces the previous plot option numbered_markers. For now on, use either markers='letters' or markers='numbers' (or markers=False for the default square symbol). See the following example:

    python from solarmach import SolarMACH body_list = ['Venus', 'Earth', 'Mars', 'STEREO A', 'Solar Orbiter', 'PSP', 'BepiColombo'] date = '2021-6-1 12:00:00' sm = SolarMACH(date, body_list) sm.plot(markers='letters') image

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.3.0...v0.3.1

- Python
Published by jgieseler over 2 years ago

solarmach - 0.3.0

What's Changed

  • Discontinue support for Python 3.7 due to dependencies

Bugfixes 🛠

  • Fix get_sw_speed() to work with updated AMDA system

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.6...v0.3.0

- Python
Published by jgieseler over 2 years ago

solarmach - 0.2.6

What's Changed

  • Add new function sc_distance() (see documentation) that derives the absolute distance between two bodies/spacecraft at a given time

Bugfixes 🛠

  • Fix test_solarmach_get_sw_speed() for conda-forge

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.5...v0.2.6

- Python
Published by jgieseler over 2 years ago

solarmach - 0.2.5

What's Changed

  • Create conda-forge version of pfsspy, and make loading of speasy optional, so that conda-forge version of solarmach can be updated (#41)

Bugfixes 🛠

  • Fix handling of NaN results in get_sw_speed(), defaulting to default_vsw in this case
  • Fix some small bugs in PFSS extension
  • Fix plotly.graph_objs.Line is deprecated.

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.4...v0.2.5

- Python
Published by jgieseler over 2 years ago

solarmach - 0.2.4

What's Changed

Bugfixes 🛠

  • Fixed a bug in calling get_sw_speed() that loaded way too much solar wind data (400 hours instead of 1 hour before defined datetime)

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.3...v0.2.4

- Python
Published by jgieseler over 2 years ago

solarmach - 0.2.3

What's Changed

New Features 🎉

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.2...v0.2.3

- Python
Published by jgieseler over 2 years ago

solarmach - 0.2.2

What's Changed

Bugfixes 🛠

  • Fix too different values in longsectorvsw causing a plotting glitch (#33). Thanks to S. Nyberg for the fix!

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.1...v0.2.2

- Python
Published by jgieseler almost 3 years ago

solarmach - 0.2.1

What's Changed

  • Fix dependencies for PFSS backmapping
  • Fix matplotlib to version 3.5.3 to avoid issue #28

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.2.0...v0.2.1

- Python
Published by jgieseler almost 3 years ago

solarmach - 0.2.0

What's Changed

New Features 🎉

  • Introduce PFSS backmapping using pfsspy! This is still somewhat experimental and not really documented yet.

New Contributors

  • @Christian-Palmroos made their first contribution in https://github.com/jgieseler/solarmach/pull/34

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.1.7...v0.2.0

- Python
Published by jgieseler almost 3 years ago

solarmach - 0.1.7

What's Changed

New Features 🎉

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.1.6...v0.1.7

- Python
Published by jgieseler almost 3 years ago

solarmach - 0.1.6

What's Changed

New Features 🎉

  • Provide plotting option long_sector to color an area in the heliographic plane, either between two Parker spirals or as a cone (#6 & #32). See here for examples.
  • Provide plotting option background_spirals to draw a bunch of IMF lines (Parker spirals) in the background (#31). See here for examples.
  • Added citation to readme

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.1.5...v0.1.6

solarmach

- Python
Published by jgieseler almost 3 years ago

solarmach - 0.1.5

What's Changed

Bugfixes 🛠

  • Fix & add option to define target radius of backmapping (https://github.com/jgieseler/solarmach/pull/25)
  • Plot radial distance projected to heliographic equatorial plane instead of radial distance in spherical coordinates (#3) ### New Features 🎉
  • Take into account solar differential rotation (#21)

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.1.4...v0.1.5

- Python
Published by jgieseler over 3 years ago

solarmach - 0.1.4

What's Changed

Bugfixes 🛠

  • fix messing up Pandas and matplotlib settings by @jgieseler in https://github.com/jgieseler/solarmach/issues/18 ### New Features 🎉
  • make compatible with streamlit by @jgieseler in https://github.com/jgieseler/solarmach/pull/19

Full Changelog: https://github.com/jgieseler/solarmach/compare/v0.1.3...v0.1.4

- Python
Published by jgieseler over 3 years ago

solarmach - 0.1.3

  • Add coord_sys option to the initialization of SolarMACH that can be either 'Carrington'or 'Stonyhurst'. This sets the used coordinate system for the whole tool. Closes https://github.com/jgieseler/solarmach/issues/1. Replaces the show_earth_centered_coord boolean option in SolarMACH.plot()
  • Add long_offset parameter to SolarMACH.plot() that defines the longitudinal offset for the polar plot; defines where Earth's longitude is (by default 270, i.e., at "6 o'clock")
  • Add return_plot_object option to SolarMACH.plot(). If set to True, the matplotlib figure and axis object are returned, allowing further adjustments to the figure. Closes https://github.com/jgieseler/solarmach/issues/2

- Python
Published by jgieseler over 3 years ago

solarmach - 0.1.2

  • Change file name of example plot in examples in order to fix a bug that crashed pip-installing on Windows

- Python
Published by jgieseler almost 4 years ago