Skip to content

Commit

Permalink
Merge pull request #165 from nsidc/ecdr-at-25km-towards-cdrv5
Browse files Browse the repository at this point in the history
Remove CDRv4 code
  • Loading branch information
sc0tts authored Oct 3, 2024
2 parents 37d8da4 + 6b63eaf commit 4cc4a6c
Show file tree
Hide file tree
Showing 7 changed files with 318 additions and 200 deletions.
7 changes: 5 additions & 2 deletions seaice_ecdr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@

__version__ = "v0.2.0"

DEFAULT_LOG_LEVEL = "INFO"
# The standard loguru log levels, in increasing order of severity, are:
# TRACE, DEBUG, INFO, SUCCESS, WARNING, ERROR, CRITICAL
DEFAULT_LOG_LEVEL = "SUCCESS"
DEFAULT_DEV_LOG_LEVEL = "SUCCESS"

# If we're in dev, DEBUG level logs are appropriate, otherwise use INFO.
env = os.environ.get("ENVIRONMENT")
_default_log_level = "DEBUG" if env == "dev" else DEFAULT_LOG_LEVEL
_default_log_level = DEFAULT_DEV_LOG_LEVEL if env == "dev" else DEFAULT_LOG_LEVEL

# Configure the default logger, which prints to stderr.
logger.configure(
Expand Down
Loading

0 comments on commit 4cc4a6c

Please sign in to comment.