Changes between Version 2 and Version 3 of HowTo_nco_netcdf
- Timestamp:
- 2014-11-21T11:28:31+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo_nco_netcdf
v2 v3 1 1 2 = = Manual ==2 = Manual = 3 3 Please have a look at if you want to make some operations on netcdf files : http://nco.sourceforge.net/#Definition 4 4 … … 17 17 18 18 19 == Specific note for the dods in Jussieu ==19 == Specific notes for the dods in Jussieu == 20 20 21 21 To 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/]] … … 34 34 35 35 36 == commande NetCDF Arithmetic Processor ncap==36 === commande NetCDF Arithmetic Processor ncap === 37 37 38 38 <code> … … 41 41 42 42 43 == commande ncrcat==43 === commande ncrcat === 44 44 45 45 concatenate the variables file_{23..32}.nc changing 2 digits on the number by step of 1 … … 50 50 51 51 52 == commande ncwa==52 === commande ncwa === 53 53 54 54 Calculate the mean over various dimensions. 55 55 56 56 57 == commande ncatted==57 === commande ncatted === 58 58 59 59 o, 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) … … 78 78 79 79 80 == Sélection d'une partie d'un fichier netcdf==80 === Sélection d'une partie d'un fichier netcdf === 81 81 82 82 <code> … … 85 85 86 86 87 == Conversion to ascii and reverse==87 === Conversion to ascii and reverse === 88 88 89 89 Pour rapide examen de la structure … … 108 108 109 109 110 == ncview==110 === ncview === 111 111 112 112 <code> … … 125 125 126 126 127 == ncap2==127 === ncap2 === 128 128 <code> 129 129 ncap2 -O -v -s 'gpp_moy=(GPP*VEGET_MAX).avg($PFT)' stomate_history.nc my_history.nc … … 133 133 134 134 135 == ncpdq==135 === ncpdq === 136 136 137 137 ncpdq 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.