ebas-io is a python package for reading/writing NASA-Ames 1001 files with EBAS extensions (EBAS NASA-Ames).
## Downloading the software
Starting with version 1.00.13, the python egg is available in this git repository (dist folder) together with the example scripts. The idea behind the git repo ist to make it easier for users to contribute their software using ebas-io and make it available for other users.
Starting with version 3.00.13, the python egg is available in this git repository (dist folder) together with the example scripts. The idea behind the git repo ist to make it easier for users to contribute their software using ebas-io and make it available for other users.
## Installation
The ebas-io package can be installed the standard way with easy_install. See the [setuptools](https://pypi.python.org/pypi/setuptools) documentation if easy_install does not work for you.
...
...
@@ -74,3 +74,16 @@ This example originates from a data user's request whether we could deliver EBAS
./ebas_flatcsv.py Testdata/*.nas
```
All files in the Examples directory are read and the data are written to one flat csv file called 'output.csv'.
## More Documentation
### EBAS Metadata tags and the keys to be used in the IO object
The EbasMetadata class controls the syntax of the metadata elements used in a file and relates them to the key names used in the IO objects for accessing the respective metadata element.
As an example for the Station code: The EbasMetadata class defines that the tag used in the file is 'Station code' and that the metadata key 'station_code' is used in the IO object. Additionally all the basic syntax checks are also defined in the EbasMetadata class.
So, for knowing which EBAS metadata elements can be used at all, what's their tag in the NASA Ames file, and which key needs to be used in the IO object to set or retrieve the metadata element, the EbasMetdata object is the place to look for. Some examples of how to use that class can be found [here](https://folk.nilu.no/~paul/ebas-io/Doc/Notebooks/html/EbasMetadata.html)
## Contact and Support
If you have any questions please contact ebas@nilu.no.