Giter Club home page Giter Club logo

gncutils's Introduction

gncutils - Glider NetCDF Utilities

A python package for writing trajectory and profile-based NetCDF files from native ocean glider data files.

Full documentation available at the wiki

Requirements

  • Python 3.*

Installation

> git clone https://github.com/kerfoot/gncutils.git
> cd gncutils
> conda env create -f environment.yml

This repo is still under development

License

GNU General Public License v3.0

See LICENSE.txt to see the full text.

gncutils's People

Contributors

kerfoot avatar bobfrat avatar

Stargazers

Brita Irving avatar Donglai Gong avatar Andrew Bird avatar

Watchers

James Cloos avatar Robert D Currier avatar  avatar

gncutils's Issues

output file naming

The current release writes output files as filename.nc. The GDAC requests files named as either filename_rt.nc or filename_deployed.nc. A nice addition to dba_to_ngdac_profile_nc.py would be the assumption of either _rt or _delayed as the default (probably _rt) and a command line arg such as -rt or -del to swap to the other naming convention. This would avoid users having to rename all the .nc files after they've been created. Thanks!

Allow user to specify a _FillValue

Currently the user is unable to specify a _FillValue for each sensor/variable in sensor_defs.json. Rather the values are taken as from the defaults in:

from netCDF4 import default_fillvals as NC_FILL_VALUES

It would increase scalability if the user was able to specify a _FillValue (or missing_value) via the sensor_defs.json as:

variable: {
    "_FillValue": NaN
}

plot_dba_yo

I tried to work with the plot_dba_yo.py. One of the paths at the beginning needed updated, gncutils.reader.dba doesn’t exist, the code needs to import create_llat_dba which is found in the gncutils.readers.slocum.
original => "from gncutils.readers.dba import create_llat_dba_reader"
corrected =>from gncutils.readers.slocum import create_llat_dba_reader

There isn't any info on the wiki about the code like with the spt vis. I was hoping someone might have some suggestions for executing the python code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.