Metadata-Version: 2.1
Name: sciencedates
Version: 1.5.0
Summary: Date conversions used in the sciences.
Home-page: https://github.com/geospace-code/sciencedates
Author: Michael Hirsch, Ph.D.
Author-email: scivision@users.noreply.github.com
License: UNKNOWN
Description: [![image](https://zenodo.org/badge/81351748.svg)](https://zenodo.org/badge/latestdoi/81351748)
        [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/scivision/sciencedates.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/scivision/sciencedates/context:python)
        [![Actions Status](https://github.com/scivision/sciencedates/workflows/ci/badge.svg)](https://github.com/scivision/sciencedates/actions)
        [![Python versions (PyPI)](https://img.shields.io/pypi/pyversions/sciencedates.svg)](https://pypi.python.org/pypi/sciencedates)
        [![PyPi Download stats](http://pepy.tech/badge/sciencedates)](http://pepy.tech/project/sciencedates)
        
        # Science Dates & Times
        
        Date & time conversions used in the sciences.
        The assumption is that datetimes are **timezone-naive**, as this is required in Numpy *et al* for `numpy.datetime64`.
        
        
        ## Install
        
        ```sh
        python -m pip install sciencedates
        ```
        
        ## Usage
        
        ### Datetime => Year, DayOfYear
        
        ```python
        import sciencedates as sd
        
        T = '2013-07-02T12'
        yeardoy, utsec = sd.datetime2yd(T)
        ```
        
        Results in year,DayOfYear; UTC fraction of day [seconds]
        
        > (2013102, 72000.0)
        
        
        ## Julia
        
        Julia [examples](./julia) are provided
        
        ## Matlab / GNU Octave
        
        Matlab / GNU Octave [examples](./matlab) are provided
        
        ## Fortran
        
        Fortran [examples](./fortran) are provided.
        For Python-like modern Fortran datetime, see
        [Datetime-Fortran](https://github.com/wavebitscientific/datetime-fortran).
        
Keywords: time,calendar
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Utilities
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Provides-Extra: tests
Provides-Extra: lint
Provides-Extra: plot
Provides-Extra: timezone
