Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added changelog/169.bugfix.rst
Empty file.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# https://www.sphinx-doc.org/en/master/config

# flake8: NOQA: E402

Expand All @@ -20,7 +20,7 @@
os.environ["HOME"] = "/home/docs/"
os.environ["LANG"] = "C"
os.environ["LC_ALL"] = "C"
os.environ["HIDE_PARFIVE_PROGESS"] = "True"
os.environ["HIDE_PARFIVE_PROGRESS"] = "True"


# -- Project information -----------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions radiospectra/spectrogram/sources/callisto.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def __init__(self, data, meta, **kwargs):

@property
def observatory_location(self):
lat = self.meta["fits_meta"]["OBS_LAT"] * u.deg * 1.0 if self.meta["fits_meta"]["OBS_LAC"] == "N" else -1.0
lon = self.meta["fits_meta"]["OBS_LON"] * u.deg * 1.0 if self.meta["fits_meta"]["OBS_LOC"] == "E" else -1.0
lat = self.meta["fits_meta"]["OBS_LAT"] * u.deg * (1.0 if self.meta["fits_meta"]["OBS_LAC"] == "N" else -1.0)
lon = self.meta["fits_meta"]["OBS_LON"] * u.deg * (1.0 if self.meta["fits_meta"]["OBS_LOC"] == "E" else -1.0)
height = self.meta["fits_meta"]["OBS_ALT"] * u.m
return EarthLocation(lat=lat, lon=lon, height=height)

Expand Down
6 changes: 3 additions & 3 deletions radiospectra/spectrogram/spectrogrambase.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class GenericSpectrogram(PcolormeshPlotMixin, NonUniformImagePlotMixin):
Attributes
----------
meta : `dict-like`
Meta data for the spectrogram.
Metadata for the spectrogram.
data : `numpy.ndarray`
The spectrogram data itself a 2D array.
The spectrogram data itself is a 2D array.
"""

_registry = {}
Expand Down Expand Up @@ -91,7 +91,7 @@ def _validate_meta(self):
This method includes very basic validation checks which apply to
all of the kinds of files that radiospectra can read.
Datasource-specific validation should be handled in the relevant
file in the radiospectra.spectrogram.sources.
file in radiospectra.spectrogram.sources.
"""
msg = "Spectrogram coordinate units for {} axis not present in metadata."
err_message = []
Expand Down