https://github.com/hcdp/station_data_ingestion

https://github.com/hcdp/station_data_ingestion

Science Score: 34.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization hcdp has institutional domain (hawaii.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: HCDP
  • Language: Python
  • Default Branch: main
  • Size: 11.3 MB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed 7 months ago
Metadata Files
Readme

README.md

Station Value Usage

python3 stationvalues/driver.py <configfile> []

Config File

The config file should be a JSON file with fields as follows:

Root

| Field Name | Optional | Description | |------------|----------|-------------| | data | false | An array of Data objects containing information on how to parse a set of data files | | tapis_config | false | A TapisConfig object containing configuration inforamtion for Tapis authentication |

TapisConfig

| Field Name | Optional | Description | |------------|----------|-------------| | tenant_url | false | The tapis tenant URL to use | | token | false | A Tapis authentication token with access to the tenant's metadata API | | retry | false | The number of times to retry an operation on error |

Data

| Field Name | Optional | Description | |------------|----------|-------------| | files | false | An array of files to process. These files should be csv files. Accepts local or remote files. | | datatype | false | The datatype of the data in the file (e.g. "rainfall" or "temperature") | | period | false | The period of the data in the file (e.g. "day" or "month") | | fill | false | The fill type of the data in the file (e.g. "partial" or "raw") | | additionalproperties | true | A JSON object containing additional properties to be included in the document (e.g. {"aggregation": "min"} for min temperature data). Default value {} | | additionalkeyproperties | true | An array of additional properties that should be treated as part of the document key for replacement (e.g. ["aggregation"] for temperature data). Default value [] | | datacolstart | true | The column the data starts on. Default value 1 | | idcol | true | The column the station ID is found in. Default value 0 | | nodata | true | The nodata value for the table. Default value "NA" | | startdate | true | An ISO-8601 formatted date string indicating the date to start processing at (inclusive). Dates before this will be ignored. | | enddate | true | An ISO-8601 formatted date string indicating the date to end processing at (inclusive). Dates after this will be ignored. |

State File

This file will store state information about the run. On failure or completion the current file position will be stored in this file if provided. If the provided state file already exists, execution will resume from the recorded point.

Owner

  • Name: Hawaii Climate Data Portal
  • Login: HCDP
  • Kind: organization

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1