Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ICARTT Python Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MBEES
ICARTT Python Package
Commits
fff9b95e
Commit
fff9b95e
authored
7 years ago
by
Christoph.Knote
Browse files
Options
Downloads
Patches
Plain Diff
Lot's a changes in documentation. Almost there now!
parent
78b82f1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGES.rst
+7
-0
7 additions, 0 deletions
CHANGES.rst
INSTALL.rst
+3
-0
3 additions, 0 deletions
INSTALL.rst
README.rst
+9
-12
9 additions, 12 deletions
README.rst
docs/index.rst
+33
-1
33 additions, 1 deletion
docs/index.rst
setup.py
+7
-1
7 additions, 1 deletion
setup.py
with
59 additions
and
14 deletions
CHANGES.rst
0 → 100644
+
7
−
0
View file @
fff9b95e
Changelog
=========
0.9.0 (2017-08-04)
------------------
- Initial release
This diff is collapsed.
Click to expand it.
INSTALL.rst
0 → 100644
+
3
−
0
View file @
fff9b95e
::
pip install icartt
This diff is collapsed.
Click to expand it.
README.rst
+
9
−
12
View file @
fff9b95e
ICARTT file format reader and writer
====================================
=======
icartt
=======
Testing things out!
``icartt`` is an ICARTT format reader and writer
Check it out::
Documentation
=============
import icartt
ds = icartt.Dataset()
maintained at https://boxmodeling.meteo.physik.uni-muenchen.de/documentation
Version history
---------------
1 - 27.07.2017
Initial release
\ No newline at end of file
Installation
============
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/index.rst
+
33
−
1
View file @
fff9b95e
...
...
@@ -12,12 +12,44 @@ icartt is an ICARTT file format reader and writer
.. contents::
:local:
:depth: 2
.. module:: icartt
Installation
------------
.. include:: ../../icartt/INSTALL.rst
Example
------------
::
import icartt
# load a new dataset from an existing file
ict = icartt.Dataset('path/to/example.ict')
# list variable names
ict.varnames
# e.g. ['Fractional_Day', 'UTC', 'JDAY', 'INDEX', 'FLIGHT', 'LOCAL_SUN_TIME', ...
# get data for variable 'UTC':
ict['UTC']
# some metadata
ict.organization
ict.dataSource
ict.mission
# write to (other) file:
with open('path/to/output.ict', 'wb') as f:
ict.write(f)
API
----
.. module:: icartt
Variable
^^^^^^^^^^
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
7
−
1
View file @
fff9b95e
import
os
from
setuptools
import
setup
def
read
(
filename
):
with
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
filename
))
as
f
:
return
f
.
read
()
setup
(
name
=
'
icartt
'
,
description
=
'
ICARTT format reader and writer
'
,
version
=
'
1.0.0
'
,
long_description
=
read
(
'
README.rst
'
)
+
'
\n\n
'
+
read
(
'
INSTALL.rst
'
)
+
'
\n\n
'
+
read
(
'
CHANGES.rst
'
),
version
=
'
0.9.0
'
,
url
=
'
https://boxmodeling.meteo.physik.uni-muenchen.de
'
,
author
=
'
Christoph Knote
'
,
author_email
=
'
christoph.knote@physik.uni-muenchen.de
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment