pydap / pydap.handlers.csv

This handler allows Pydap to serve data from a file with comma separated values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pydap.handlers.csv

This handler allows Pydap to serve data from a file with comma separated values. Here's a simple example:

$ cat simple.csv
"index","temperature","site"
10,15.2,"Diamond_St"
11,13.1,"Blacktail_Loop"
12,13.3,"Platinum_St"
13,12.1,"Kodiak_Trail"

Note that strings must be explicitely quoted. Additional metadata may be added by creating a JSON file with the same name (simple.csv.json in this case):

{
    "sequence": {
        "temperature": {
            "units": "degC"
        }
    }
}

About

This handler allows Pydap to serve data from a file with comma separated values.


Languages

Language:Python 100.0%