Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ray Garcia
himawari
Commits
8e98db7c
Commit
8e98db7c
authored
Jun 10, 2019
by
R.K.Garcia
Browse files
only ask for single line and single column of x and y for fgf property
RAM efficiency refactoring, pointed out by RKuehn
parent
5a7e5688
Changes
1
Hide whitespace changes
Inline
Side-by-side
himawari/HimawariScene.py
View file @
8e98db7c
...
...
@@ -205,9 +205,16 @@ class HimawariScene(object):
@
property
def
fgf
(
self
):
y
,
_
,
_
=
self
.
coords
(
columns
=
1
,
unscaled
=
True
)
meta
=
self
.
metadata
y
,
x
,
mb
=
self
.
coords
(
unscaled
=
True
)
return
fgf_yxmb
(
y
[:,
0
].
squeeze
(),
x
[
meta
.
begin_line
,:].
squeeze
(),
mb
.
my
,
mb
.
mx
,
mb
.
by
,
mb
.
bx
)
_
,
x
,
mb
=
self
.
coords
(
line_offset
=
meta
.
begin_line
,
lines
=
1
,
unscaled
=
True
)
return
fgf_yxmb
(
y
[:,
0
].
squeeze
(),
x
[
0
,:].
squeeze
(),
mb
.
my
,
mb
.
mx
,
mb
.
by
,
mb
.
bx
)
# @property
# def fgf(self):
# meta = self.metadata
# y,x,mb = self.coords(unscaled=True)
# return fgf_yxmb(y[:,0].squeeze(),x[meta.begin_line,:].squeeze(),mb.my,mb.mx,mb.by,mb.bx)
@
property
def
line_times
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment