Skip to content

Commit

Permalink
#464 fullname of mappers in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
azamifard committed Mar 10, 2021
1 parent 2a0dd6b commit 2234f57
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_aapp_l1b.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from nansat.geolocation import Geolocation
from nansat.vrt import VRT

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

satIDs = {4: 'NOAA-15', 2: 'NOAA-16', 6: 'NOAA-17', 7: 'NOAA-18', 8: 'NOAA-19',
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_aapp_l1c.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
headerLength = recordLength
imageOffset = headerLength + 1092

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_geostationary.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from nansat.vrt import VRT
from nansat.node import Node

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

def arrays2LUTString(a, b):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_globcolour_l3b.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from nansat.vrt import VRT
from nansat.mappers.globcolour import Globcolour

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT, Globcolour):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_globcolour_l3m.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from nansat.utils import gdal, ogr
from nansat.exceptions import WrongMapperError

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT, Globcolour):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_metno_local_hires_seaice.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from nansat.vrt import VRT
import nansat.mappers.mapper_generic as mg

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(mg.Mapper):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_ncep_wind_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from nansat.exceptions import WrongMapperError
from nansat.nansat import Nansat

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

# Place to store downloads - this can be changed via the "outFolder" argument
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_obpg_l3.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from nansat.exceptions import WrongMapperError

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_ocean_productivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from nansat.exceptions import WrongMapperError

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT):
Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_radarsat2.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from nansat.utils import initial_bearing, gdal
from nansat.exceptions import WrongMapperError, NansatReadError

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())


Expand Down
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_viirs_l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from nansat.utils import gdal, ogr
from nansat.exceptions import WrongMapperError, NansatReadError

LOGGER = logging.getLogger("Nansat."+__name__)
LOGGER = logging.getLogger("nansat.mappers."+__name__)
LOGGER.addHandler(logging.NullHandler())

class Mapper(VRT):
Expand Down

0 comments on commit 2234f57

Please sign in to comment.