Skip to content

perillaroc/porter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

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 original 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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy