Skip to content

Commit f20e6bd

Browse files
committed
Fix precision matters for small time shifts and upgrade basemap library that fixes plot bug
1 parent 43d20e3 commit f20e6bd

File tree

2 files changed

+63
-62
lines changed

2 files changed

+63
-62
lines changed

environment.yml

Lines changed: 62 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -4,68 +4,68 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- _libgcc_mutex=0.1=conda_forge
8-
- _openmp_mutex=4.5=1_gnu
9-
- basemap=1.2.2=py39h523bb60_3
10-
- basemap-data-hires=1.2.2=0
11-
- c-ares=1.17.1=h36c2ea0_0
12-
- ca-certificates=2020.10.14=0
13-
- certifi=2020.12.5=py39hf3d152e_1
14-
- cycler=0.10.0=py_2
15-
- freetype=2.10.4=h0708190_1
16-
- geos=3.8.1=he1b5a44_0
17-
- jinja2=2.11.2=py_0
18-
- jpeg=9d=h36c2ea0_0
19-
- kiwisolver=1.3.1=py39h1a9c180_1
20-
- krb5=1.17.2=h926e7f8_0
21-
- lcms2=2.12=hddcbb42_0
22-
- ld_impl_linux-64=2.35.1=hea4e1c9_2
23-
- libblas=3.9.0=8_openblas
24-
- libcblas=3.9.0=8_openblas
25-
- libcurl=7.71.1=hcdd3856_8
26-
- libedit=3.1.20191231=he28a2e2_2
27-
- libev=4.33=h516909a_1
28-
- libffi=3.3=h58526e2_2
29-
- libgcc-ng=9.3.0=h2828fa1_18
30-
- libgfortran-ng=9.3.0=hff62375_18
31-
- libgfortran5=9.3.0=hff62375_18
32-
- libgomp=9.3.0=h2828fa1_18
33-
- liblapack=3.9.0=8_openblas
34-
- libnghttp2=1.43.0=h812cca2_0
35-
- libopenblas=0.3.12=pthreads_h4812303_1
36-
- libpng=1.6.37=h21135ba_2
37-
- libssh2=1.9.0=hab1572f_5
38-
- libstdcxx-ng=9.3.0=h6de172a_18
39-
- libtiff=4.2.0=hdc55705_0
40-
- libwebp-base=1.2.0=h7f98852_0
41-
- lz4-c=1.9.3=h9c3ff4c_0
42-
- markupsafe=1.1.1=py39h3811e60_3
43-
- matplotlib-base=3.3.4=py39h2fa2bec_0
44-
- ncurses=6.2=h58526e2_4
45-
- numpy=1.20.1=py39hdbf815f_0
46-
- olefile=0.46=pyh9f0ad1d_1
47-
- openssl=1.1.1k=h7f98852_0
48-
- pillow=8.1.0=py39hf95b381_2
49-
- pip=21.0.1=pyhd8ed1ab_0
50-
- proj=7.2.0=h277dcde_2
51-
- pyparsing=2.4.7=pyh9f0ad1d_0
52-
- pyproj=3.0.0.post1=py39hb427721_0
53-
- pyshp=2.1.3=pyh44b312d_0
54-
- python=3.9.2=hffdb5ce_0_cpython
55-
- python-dateutil=2.8.1=py_0
56-
- python_abi=3.9=1_cp39
57-
- readline=8.0=he28a2e2_2
58-
- setuptools=49.6.0=py39hf3d152e_3
59-
- six=1.15.0=pyh9f0ad1d_0
60-
- sqlite=3.34.0=h74cdb3f_0
61-
- tk=8.6.10=h21135ba_1
62-
- tornado=6.1=py39h3811e60_1
63-
- tzdata=2021a=he74cb21_0
64-
- wheel=0.36.2=pyhd3deb0d_0
65-
- xz=5.2.5=h516909a_1
66-
- zlib=1.2.11=h516909a_1010
67-
- zstd=1.4.8=ha95c52a_1
7+
- _libgcc_mutex=0.1
8+
- _openmp_mutex=4.5
9+
- basemap-data=1.3.2
10+
- basemap-data-hires=1.3.2
11+
- c-ares=1.17.1
12+
- ca-certificates=2023.7.22
13+
- certifi=2023.7.22
14+
- cycler=0.10.0
15+
- freetype=2.10.4
16+
- geos=3.8.1
17+
- jinja2=2.11.2
18+
- jpeg=9d
19+
- kiwisolver=1.3.1
20+
- krb5=1.17.2
21+
- lcms2=2.12
22+
- ld_impl_linux-64=2.35.1
23+
- libblas=3.9.0
24+
- libcblas=3.9.0
25+
- libcurl=7.71.1
26+
- libedit=3.1.20191231
27+
- libev=4.33
28+
- libffi=3.3
29+
- libgcc-ng=9.3.0
30+
- libgfortran-ng=9.3.0
31+
- libgfortran5=9.3.0
32+
- libgomp=9.3.0
33+
- liblapack=3.9.0
34+
- libnghttp2=1.43.0
35+
- libopenblas=0.3.12
36+
- libpng=1.6.37
37+
- libssh2=1.9.0
38+
- libstdcxx-ng=9.3.0
39+
- libtiff=4.2.0
40+
- libwebp-base=1.2.0
41+
- lz4-c=1.9.3
42+
- markupsafe=1.1.1
43+
- matplotlib-base=3.3.4
44+
- ncurses=6.2
45+
- olefile=0.46
46+
- openssl=1.1.1k
47+
- pillow=8.1.0
48+
- pip=21.0.1
49+
- proj=7.2.0
50+
- pyparsing=2.4.7
51+
- pyproj=3.0.0.post1
52+
- pyshp=2.1.3
53+
- python=3.9.2
54+
- python-dateutil=2.8.1
55+
- python_abi=3.9
56+
- readline=8.0
57+
- setuptools=49.6.0
58+
- six=1.15.0
59+
- sqlite=3.34.0
60+
- tk=8.6.10
61+
- tornado=6.1
62+
- tzdata=2021a
63+
- wheel=0.36.2
64+
- xz=5.2.5
65+
- zlib=1.2.11
66+
- zstd=1.4.8
6867
- pip:
68+
- basemap==1.3.8
6969
- chardet==4.0.0
7070
- decorator==4.4.2
7171
- future==0.18.2
@@ -74,6 +74,7 @@ dependencies:
7474
- geoparse==2.0.3
7575
- idna==2.10
7676
- lxml==4.6.2
77+
- numpy==1.25.2
7778
- obspy==1.2.2
7879
- pandas==1.2.2
7980
- pytz==2021.1

src/isola.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def calculateVariance(observed, synthetic, tl):
102102
"""
103103
with np.errstate(divide='raise'):
104104
try:
105-
dt = round((tl/8192.0),2)
105+
dt = round((tl/8192.0),4)
106106
obs = np.array(observed)
107107
syn = np.array(synthetic)
108108

0 commit comments

Comments
 (0)