Giter Site home page Giter Site logo

mnc's Introduction

mnc

(M)odify GLOBAL ATTRIBUTION value of (n)et(C)DF file

This is a very small utility for modify GLOBAL attribution value of an netCDF file, no need to CDO/NCO to do this simple job.

I originally write this tool using FORTRAN 90 by calling the NF90_ functions, but I found that for my system (CENT OS 6.6, x86_64, netcdf version of 3.5), NF90 function list lost the _get_att_(real,double,...) functions, it will change everything to REAL! That is a diaster! So, I rewrite this code to Fortran 77( or, you can change it to C).

USAGE: /home/z/WRFV3/WRFOUT/rnc.exe /home/z/CMAQ/data/mcip3/YC03/MET_DOT_3D_2016361.ncf XORIG DOUBLE -252000.3125 ;

/home/z/WRFV3/WRFOUT/rnc.exe /home/z/CMAQ/data/mcip3/YC03/MET_DOT_3D_2016361.ncf YORIG DOUBLE -1054777.5 ;

ATTENTION:

  1. I just write the code for change REAL/DOUBLE PRECISION type, no other type is count in! I have no time to add it, I'll add them later if I have time, it's very easy.
  2. Change the 'Makefile' for your fortran compiler.

zuohj,Feb 23, 2017

mnc's People

Contributors

enomlap avatar

Watchers

James Cloos avatar  avatar

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.