You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running Occurrence probability analysis leaves Instrument object on last day. If a user tries to run it again, it won't work. Already at end of bounds.
To Reproduce
Steps to reproduce the behavior:
# Orbit breakdown info
orbit_info = {'kind': 'lt', 'index':'Magnetic_Local_Time'}
# We will employ a centered time-based calculation. Engage pysat's data padding.
pad = pds.DateOffset(seconds=30)
# Instantiate IVM instrument data and
ivm = pysat.Instrument('icon', 'ivm', inst_id='a', orbit_info=orbit_info,
pad=pad)
# Set the range of dates for the analysis
ivm.bounds = (dt.datetime(2020, 1, 1), dt.datetime(2020, 1, 15))
answer = pysatSeasons.occur_prob.by_orbit2D(ivm, [0, 360, 24], 'Longitude',
[-20, 20, 10], 'Magnetic_Latitude',
['Ion_Density'], [7.E3], returnBins=True)
answer = pysatSeasons.occur_prob.by_orbit2D(ivm, [0, 360, 24], 'Longitude',
[-20, 20, 10], 'Magnetic_Latitude',
['Ion_Density'], [7.E3], returnBins=True)
Expected behavior
Running it twice should yield the same result, twice.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: MacOS
Version Python 3.9
Other details about your setup that could be relevant
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Running Occurrence probability analysis leaves Instrument object on last day. If a user tries to run it again, it won't work. Already at end of bounds.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Running it twice should yield the same result, twice.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: