purple-koala
commited on
Commit
•
9c5ced4
1
Parent(s):
8022f28
Update app.py
Browse files
app.py
CHANGED
@@ -298,10 +298,10 @@ class SADCP_Viewer(param.Parameterized):
|
|
298 |
|
299 |
def filter_data(self):
|
300 |
return self.ds.where(
|
301 |
-
(self.ds.LONGITUDE >= self.longitude_slider.
|
302 |
-
& (self.ds.LONGITUDE <= self.longitude_slider.
|
303 |
-
& (self.ds.LATITUDE >= self.latitude_slider.
|
304 |
-
& (self.ds.LATITUDE <= self.latitude_slider.
|
305 |
drop=True,
|
306 |
)
|
307 |
|
@@ -414,3 +414,4 @@ template = pn.template.FastListTemplate(
|
|
414 |
)
|
415 |
template.servable()
|
416 |
|
|
|
|
298 |
|
299 |
def filter_data(self):
|
300 |
return self.ds.where(
|
301 |
+
(self.ds.LONGITUDE >= self.longitude_slider.value[0])
|
302 |
+
& (self.ds.LONGITUDE <= self.longitude_slider.value[1])
|
303 |
+
& (self.ds.LATITUDE >= self.latitude_slider.value[0])
|
304 |
+
& (self.ds.LATITUDE <= self.latitude_slider.value[1]),
|
305 |
drop=True,
|
306 |
)
|
307 |
|
|
|
414 |
)
|
415 |
template.servable()
|
416 |
|
417 |
+
|