Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Utilities

    Ncdfextra 0.3.10

    Download button

    No screenshots available
    Downloads: 203  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    H. Wouters | More programs
    Other/Proprietary Li... / FREE
    March 27th, 2012, 17:05 GMT
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    Ncdfextra description

    Process netcdf data

    Ncdfextra is a Python module that provides tools to select, edit, convert netcdf data. The aim is to make an addition to 'cdo' (climate data operators) using python power. It depends on sciproc (it acually uses multifunc) and Scientific.IO.NetCDF and provides command-line tools to process netcdf-files directly without having to fiddle with innumerous temporary variables and for-loops. Typical usage of ncmultifunc looks like this:

    #!/usr/bin/env python

    from Scientific.IO import NetCDF
    from numpy import *
    from sciproc import *
    from ncdfextra import *

    ncin = NetCDF.NetCDFFile('../testdata/sample.nc','r')
    ncout = NetCDF.NetCDFFile('../testdata/sampleavgcycle.nc','w')
    # calculate diurnal cycle for every Netcdf variable in 'sample.nc' and store it in
    # sampleavgcycle.nc:


    ncmultifunc( ncin, ncout, \
    # the dimension along which you want to apply the function. In our case, it is the
    # (date)time of course. Ideally, it can also be multiple dimension, for instance to make
    # cubic spline interpolations. (However, multiple dimensions isn't tested sofar)
    ('datetime',),\
    # the function definition: in this case 'calculating the diurnal cycle'
    lambda data, coords: avgcycle(data,coords,\
     # cycle: 1 day (24 hours)
     1.0, \
     # add a 25th hour to close the cycle
     cclose=True) \
     )


    A Section

    Give it a try without any manual ;). Please e-mail your remarks, questions or problems to hendrikwout [ta] gmail [dat] com. Any questions will definitely be used to write the manual. Note that the package is still in experimental stage, so please be critical about its output. Hopefully, this package can be useful to you.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    netcdf data | netcdf converter | netcdf editor | netcdf | data | converter



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM