Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
5310a923
Commit
5310a923
authored
5 years ago
by
Jeremy M Fee
Browse files
Options
Downloads
Patches
Plain Diff
More string encoding fixes
parent
79035ff3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
geomagio/edge/RawInputClient.py
+1
-1
1 addition, 1 deletion
geomagio/edge/RawInputClient.py
geomagio/imfv283/GOESIMFV283Factory.py
+1
-1
1 addition, 1 deletion
geomagio/imfv283/GOESIMFV283Factory.py
with
2 additions
and
2 deletions
geomagio/edge/RawInputClient.py
+
1
−
1
View file @
5310a923
...
...
@@ -325,7 +325,7 @@ class RawInputClient():
ratemantissa
,
ratedivisor
=
self
.
_get_mantissa_divisor
(
rate
)
packStr
=
'
%s%d%s
'
%
(
PACKSTR
,
nsamp
,
'
i
'
)
bpackStr
=
str
.
encode
(
packStr
)
bpackStr
=
str
(
packStr
)
.
encode
()
buf
=
struct
.
pack
(
bpackStr
,
PACKETHEAD
,
nsamp
,
self
.
seedname
,
yr
,
doy
,
ratemantissa
,
ratedivisor
,
self
.
activity
,
self
.
ioclock
,
self
.
quality
,
self
.
timingquality
,
secs
,
usecs
,
self
.
sequence
,
...
...
This diff is collapsed.
Click to expand it.
geomagio/imfv283/GOESIMFV283Factory.py
+
1
−
1
View file @
5310a923
...
...
@@ -49,7 +49,7 @@ class GOESIMFV283Factory(IMFV283Factory):
self
.
server
=
server
self
.
user
=
user
self
.
password
=
password
self
.
javaerror
=
'
FATAL
'
self
.
javaerror
=
b
'
FATAL
'
def
get_timeseries
(
self
,
starttime
,
endtime
,
observatory
=
None
,
channels
=
None
,
type
=
None
,
interval
=
None
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment