Skip to content

Commit

Permalink
Corrects unintention spelling corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
CyclingNinja committed Oct 31, 2024
1 parent 638104d commit 027967d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[codespell]
skip = *.asdf,*.fits,*.fts,*.header,*.json,*.xsh,*cache*,*egg*,*extern*,.git,.idea,.tox,_build,*truncated,*.svg,.asv_env,.history
skip = *.asdf,*.fits,*.fts,*.header,*.json,*.xsh,*cache*,*egg*,*extern*,.git,.idea,.tox,_build,*truncated,*.svg,.asv_env,.history,radiospectra/net/sources/tests/*.html
ignore-words-list =
alog,
nd,
Expand All @@ -10,4 +10,5 @@ ignore-words-list =
upto,
afile,
precessed,
precess
precess,
technik
4 changes: 2 additions & 2 deletions radiospectra/net/sources/ecallisto.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class eCALLISTOClient(GenericClient):
"""
Provides access to `eCallisto radio spectrometer <http://soleil80.cs.technique.fhnw.ch/solarradio/data/2002-20yy_Callisto/>`__
Provides access to `eCallisto radio spectrometer <http://soleil80.cs.technik.fhnw.ch/solarradio/data/2002-20yy_Callisto/>`__
`data archive <https://spdf.gsfc.nasa.gov>`__.
`Further information <http://www.e-callisto.org>`__.
Expand Down Expand Up @@ -40,7 +40,7 @@ class eCALLISTOClient(GenericClient):
"""

baseurl = (
r"http://soleil80.cs.technique.fhnw.ch/solarradio/data/2002-20yy_Callisto/"
r"http://soleil80.cs.technik.fhnw.ch/solarradio/data/2002-20yy_Callisto/"
r"%Y/%m/%d/{obs}_%Y%m%d_%H%M%S.*.fit.gz"
)
pattern = (
Expand Down
2 changes: 1 addition & 1 deletion radiospectra/net/sources/tests/data/rstn_holloman.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>
<!-- BEGIN HEADER -->
<div id="left_image" style="width:440; position:absolute; left:0px; top:0px;">
<div id="left_image" style="width:440; postion:absolute; left:0px; top:0px;">
<a href="https://www.ngdc.noaa.gov/ngdc.html" target="_top" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home"><img src="https://www.ngdc.noaa.gov/image/nesdisngdcleft.gif" alt="Logo" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home" border="0" width="440" height="50"></a>
</div>
<div id="right_image" style="width:121; position:absolute; right:0px; top:0px">
Expand Down
2 changes: 1 addition & 1 deletion radiospectra/net/sources/tests/data/rstn_learmonth.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>
<!-- BEGIN HEADER -->
<div id="left_image" style="width:440; position:absolute; left:0px; top:0px;">
<div id="left_image" style="width:440; postion:absolute; left:0px; top:0px;">
<a href="https://www.ngdc.noaa.gov/ngdc.html" target="_top" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home"><img src="https://www.ngdc.noaa.gov/image/nesdisngdcleft.gif" alt="Logo" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home" border="0" width="440" height="50"></a>
</div>
<div id="right_image" style="width:121; position:absolute; right:0px; top:0px">
Expand Down
2 changes: 1 addition & 1 deletion radiospectra/net/sources/tests/data/rstn_san-vito.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>
<!-- BEGIN HEADER -->
<div id="left_image" style="width:440; position:absolute; left:0px; top:0px;">
<div id="left_image" style="width:440; postion:absolute; left:0px; top:0px;">
<a href="https://www.ngdc.noaa.gov/ngdc.html" target="_top" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home"><img src="https://www.ngdc.noaa.gov/image/nesdisngdcleft.gif" alt="Logo" title="go to NOAA National Centers for Environmental Information (formerly the National Geophysical Data Center) home" border="0" width="440" height="50"></a>
</div>
<div id="right_image" style="width:121; position:absolute; right:0px; top:0px">
Expand Down
4 changes: 2 additions & 2 deletions radiospectra/net/sources/tests/test_ecallisto_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_client(urlopen, client, http_responses):
query = client.search(a.Time("2019/10/05 23:00", "2019/10/06 00:59"), a.Instrument("eCALLISTO"))
assert urlopen.call_count == 2
# 2nd call
urlopen.assert_called_with("http://soleil80.cs.technique.fhnw.ch/solarradio/data/2002-20yy_Callisto/2019/10/06/")
urlopen.assert_called_with("http://soleil80.cs.technik.fhnw.ch/solarradio/data/2002-20yy_Callisto/2019/10/06/")
assert len(query) == 156


Expand All @@ -68,7 +68,7 @@ def test_client_with_observatory(urlopen, client, http_responses):
)
assert urlopen.call_count == 2
# 2nd call
urlopen.assert_called_with("http://soleil80.cs.technique.fhnw.ch/solarradio/data/2002-20yy_Callisto/2019/10/06/")
urlopen.assert_called_with("http://soleil80.cs.technik.fhnw.ch/solarradio/data/2002-20yy_Callisto/2019/10/06/")
assert len(query) == 8


Expand Down

0 comments on commit 027967d

Please sign in to comment.