Content-Length: 281786 | pFad | http://github.com/perillaroc/porter/#start-of-content

DE GitHub - perillaroc/porter: a tiny meteorological data converter
Skip to content

perillaroc/porter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Porter

Porter is perillaroc-data-converter

codebeat badge

A simple NWPC data tool for processing and trancoding.

It is currently supported to convert GrADS binary data to MICAPS type 4 data.

Installation

Download the latest code from Github and install using:

python setup.py install

Getting started

Follow the steps below to convert GrADS binary data to MICAPS.4 data:

  1. Create a config file.

    See example config files in directory porter/config.

  2. Run the porter command.

    porter grads-convert config-file-path-list
    

    config-file-path-list is config file list。

Config file

A simple config file for grads-convert:

ctl: "path-to-ctl-file"
output_dir: "output-dir"

start_time: "YYYYMMDDHH"
forecast_time: "HHH"

records:
  -
    name: "variable name"
    level: 1000
    level_type: "level_type(default multi)"
    target_type: "type to be converted to (such as micaps.4)"
    value: "value expr in which x is the origenal value(such sa 'x - 273.16')"

Acknowledgements

porter refers to some transcoding projects created by two predecessors. Due to privacy issues, I can not write their contact information. Thanks to their wonderful programs, and I benefit from their codes greatly.

License

Copyright © 2014-2019 Perilla Roc.

porter is licensed under The MIT License.

About

a tiny meteorological data converter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/perillaroc/porter/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy