-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib_info_args.py
40 lines (34 loc) · 1.51 KB
/
lib_info_args.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
Library Features:
Name: lib_info_args
Author(s): Francesco Avanzi (francesco.avanzi@cimafoundation.org), Fabio Delogu (fabio.delogu@cimafoundation.org)
Date: '20210607'
Version: '1.0.0'
"""
#######################################################################################
# Library
import pandas as pd
#######################################################################################
# -------------------------------------------------------------------------------------
# Time information
time_type = 'GMT' # 'GMT', 'local'
time_units = 'days since 1858-11-17 00:00:00'
time_calendar = 'gregorian'
time_format_datasets = "%Y%m%d%H%M"
time_format_algorithm = '%Y-%m-%d %H:%M'
time_machine = pd.Timestamp.now
# Logging information
logger_name = 's3m_runner'
logger_file = 's3m_runner.txt'
logger_handle = 'file' # 'file' or 'stream'
logger_format = ('%(asctime)s %(name)-12s %(levelname)-8s %(message)-80s'
' %(filename)s:[%(lineno)-6s - %(funcName)-20s()] ')
# Definition of wkt for projections
proj_wkt = ('GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,'
'AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,'
'AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,'
'AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]')
proj_epsg = 'EPSG:4326'
# Definition of zip extension
zip_extension = '.gz'
# -------------------------------------------------------------------------------------