Changes between Version 2 and Version 3 of HowTo_nco_netcdf


Ignore:
Timestamp:
2014-11-21T11:28:31+01:00 (9 years ago)
Author:
zpoussi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo_nco_netcdf

    v2 v3  
    11 
    2 == Manual == 
     2= Manual = 
    33Please have a look at if you want to make some operations on netcdf files : http://nco.sourceforge.net/#Definition 
    44 
     
    1717 
    1818 
    19 == Specific note for the dods in Jussieu == 
     19== Specific notes for the dods in Jussieu == 
    2020 
    2121To activate the dods fonctionnality, one should use the URL : [[http://dods.ipsl.jussieu.fr/cgi-bin/nph-dods/]] rather than [[http://dods.ipsl.jussieu.fr/]] 
     
    3434 
    3535 
    36 == commande NetCDF Arithmetic Processor ncap == 
     36=== commande NetCDF Arithmetic Processor ncap === 
    3737 
    3838<code> 
     
    4141 
    4242 
    43 == commande ncrcat == 
     43=== commande ncrcat === 
    4444 
    4545concatenate the variables file_{23..32}.nc changing 2 digits on the number by step of 1 
     
    5050 
    5151 
    52 == commande ncwa == 
     52=== commande ncwa === 
    5353 
    5454Calculate the mean over various dimensions. 
    5555 
    5656 
    57 == commande ncatted == 
     57=== commande ncatted === 
    5858 
    5959o, meaning Overwrite (other possible options : a c d m ) a global attribute entitled nbyear which is a double d (other possible options : f d l s c b) 
     
    7878 
    7979 
    80 == Sélection d'une partie d'un fichier netcdf == 
     80=== Sélection d'une partie d'un fichier netcdf === 
    8181 
    8282<code> 
     
    8585 
    8686 
    87 == Conversion to ascii and reverse == 
     87=== Conversion to ascii and reverse === 
    8888 
    8989Pour rapide examen de la structure 
     
    108108 
    109109 
    110 == ncview == 
     110=== ncview === 
    111111 
    112112<code> 
     
    125125 
    126126 
    127 == ncap2 == 
     127=== ncap2 === 
    128128<code> 
    129129   ncap2 -O -v -s 'gpp_moy=(GPP*VEGET_MAX).avg($PFT)' stomate_history.nc my_history.nc 
     
    133133 
    134134 
    135 == ncpdq == 
     135=== ncpdq === 
    136136 
    137137ncpdq makes it possible to concatenate files along any dimension, not just the record dimension. First, use ncpdq to convert the dimension to be concatenated (i.e., extended with data from other files) into the record dimension. As a concrete example, say that files x_01.nc, x_02.nc, ... x_10.nc contain time-evolving datasets from spatially adjacent regions. The time and spatial coordinates are time and x, respectively. Initially the record dimension is time. Our goal is to create a single file that contains joins all the spatially adjacent regions into one single time-evolving dataset.