<commit_before># pylint: disable-msg=W0201, W0212
"""
Core classes for time/date related arrays.

The `DateArray` class provides a base for the creation of date-based objects,
using days as the base units. This class could be adapted easily to objects
with a smaller temporal resolution (for example, using one hour, one second as the
base unit).

The `TimeSeries` class provides  a base for the definition of time series.
A time series is defined here as the combination of two arrays:
    
    - an array storing the time information (as a `DateArray` instance);
    - an array storing the data (as a `MaskedArray` instance.

These two classes were liberally adapted from `MaskedArray` class.



:author: <NAME> & <NAME>
:contact: pierregm_at_uga_dot_edu - mattknox_ca_at_hotmail_dot_com
:version: $Id$
"""
__author__ = "<NAME> & <NAME> ($Author$)"
__version__ = '1.0'
__revision__ = "$Revision$"
__date__     = '$Date$'

import numpy
from numpy import ndarray
from numpy.core import bool_, complex_, float_, int_, object_
import numpy.core.fromnumeric as fromnumeric
import numpy.core.numeric as numeric
import numpy.core.umath as umath
#from numpy.core.records import recarray
from numpy.core.records import fromarrays as recfromarrays

import maskedarray as MA
#reload(MA)
from maskedarray.core import MaskedArray, MAError, masked, nomask, \
    filled, getmask, getmaskarray, make_mask_none, mask_or, make_mask, \
    masked_array

import tcore as corelib
#reload(corelib)
from tcore import *

import tdates
#reload(tdates)
from tdates import DateError, InsufficientDateError
from tdates import Date, isDate, DateArray, isDateArray, \
    date_array, date_array_fromlist, date_array_fromrange, thisday

import cseries
#reload(cseries)

__all__ = [
'TimeSeriesError','TimeSeriesCompatibilityError','TimeSeries','isTimeSeries',
'time_series',
'day_of_week','dat_of_year','day','month','quarter','year','hour','minute','second',  
'tofile','asrecords','flatten','adjust_endpoints','align_series','aligned',
'mask_period','mask_inside_period','mask_outside_period',
'convert','fill_missing_dates'
           ]

#...............................................................................
import logging
logging.basicConfig(level=logging.DEBUG,<commit_msg>fixed typos in __all__ list<commit_after># pylint: disable-msg=W0201, W0212
"""
Core classes for time/date related arrays.

The `DateArray` class provides a base for the creation of date-based objects,
using days as the base units. This class could be adapted easily to objects
with a smaller temporal resolution (for example, using one hour, one second as the
base unit).

The `TimeSeries` class provides  a base for the definition of time series.
A time series is defined here as the combination of two arrays:
    
    - an array storing the time information (as a `DateArray` instance);
    - an array storing the data (as a `MaskedArray` instance.

These two classes were liberally adapted from `MaskedArray` class.



:author: <NAME> & <NAME>
:contact: pierregm_at_uga_dot_edu - mattknox_ca_at_hotmail_dot_com
:version: $Id$
"""
__author__ = "<NAME> & <NAME> ($Author$)"
__version__ = '1.0'
__revision__ = "$Revision$"
__date__     = '$Date$'

import numpy
from numpy import ndarray
from numpy.core import bool_, complex_, float_, int_, object_
import numpy.core.fromnumeric as fromnumeric
import numpy.core.numeric as numeric
import numpy.core.umath as umath
#from numpy.core.records import recarray
from numpy.core.records import fromarrays as recfromarrays

import maskedarray as MA
#reload(MA)
from maskedarray.core import MaskedArray, MAError, masked, nomask, \
    filled, getmask, getmaskarray, make_mask_none, mask_or, make_mask, \
    masked_array

import tcore as corelib
#reload(corelib)
from tcore import *

import tdates
#reload(tdates)
from tdates import DateError, InsufficientDateError
from tdates import Date, isDate, DateArray, isDateArray, \
    date_array, date_array_fromlist, date_array_fromrange, thisday

import cseries
#reload(cseries)

__all__ = [
'TimeSeriesError','TimeSeriesCompatibilityError','TimeSeries','isTimeSeries',
'time_series',
'day_of_week','day_of_year','day','month','quarter','year','hour','minute','second',  
'tofile','asrecords','flatten','adjust_endpoints','align_series','aligned',
'mask_period','mask_inside_period','mask_outside_period',
'convert','fill_missing_dates'
           ]

#...............................................................................
import logging
logging.basicConfig(level=logging.DEBUG,
{'fraction_non_alphanumeric': 0.13095238095238096, 'fraction_numerical': 0.004409171075837742, 'mean_word_length': 4.636024844720497, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1763790', 'n_tokens_mistral': 1356, 'n_tokens_neox': 1315, 'n_words': 437}