Commit 7c0a1945 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Upgrade to FdsnNetExtender

parent 698875f4
......@@ -11,7 +11,7 @@ import yaml
import psycopg2
import click
from pathlib import Path
from fdsnextender import FdsnExtender
from fdsnnetextender import FdsnNetExtender
from resifdatareporter import __version__
logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=logging.INFO)
logger = logging.getLogger(__name__)
......@@ -162,7 +162,7 @@ def cli(configfile, force_scan, dryrun, verbose, version):
# add the network_type (is the network permanent or not) to the statistic
# also insert the extended network code.
extender = FdsnExtender()
extender = FdsnNetExtender(base_url='')
for stat in statistics:
# Les réseaux commençant par 1 à 9 et X Y Z sont des réseaux non
# permanents
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment