Changes between Version 1 and Version 2 of HowTo_nco_netcdf
- Timestamp:
- 2014-11-21T11:25:58+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo_nco_netcdf
v1 v2 8 8 http://sourceforge.net/projects/nco/forums/forum/9830 9 9 10 10 11 == Consulting netcdf files on a dods server == 11 12 … … 15 16 More explanation on [[http://docs.opendap.org/index.php/QuickStart]] and [[http://www.opendap.org/pub/dods/ps-docs/guide.pdf]] 16 17 17 == Spécific note for the dods in Jussieu ==18 18 19 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/]] 19 == Specific note for the dods in Jussieu == 20 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/]] 20 22 21 23 For exemple, to see the characteristics of the CRU precipitation file : … … 28 30 More info on [[http://wiki.ipsl.jussieu.fr/wiki_ipsl/ServeurDODSintro]] 29 31 32 30 33 == Example of use == 34 31 35 32 36 == commande NetCDF Arithmetic Processor ncap == … … 35 39 ncap -s "C_tot=VEGET_MAX*(CARBON_PASSIVE+CARBON_ACTIVE+LITTER);C_tot@missing_value=CARBON_PASSIVE@missing_value" soilc_af2002.nc my_soilc_af2002.nc 36 40 </code> 41 37 42 38 43 == commande ncrcat == … … 44 49 </code> 45 50 51 46 52 == commande ncwa == 47 53 48 calculate the mean over various dimensions. 54 Calculate the mean over various dimensions. 55 49 56 50 57 == commande ncatted == … … 70 77 </code> 71 78 72 == sélection d'une partie d'un fichier netcdf == 79 80 == Sélection d'une partie d'un fichier netcdf == 73 81 74 82 <code> … … 76 84 </code> 77 85 78 == conversion to ascii and reverse ==79 86 80 pour rapide examen de la structure 87 == Conversion to ascii and reverse == 88 89 Pour rapide examen de la structure 81 90 82 91 <code> … … 84 93 </code> 85 94 86 pour l'extraction ascii d'une variable95 Pour l'extraction ascii d'une variable 87 96 88 97 <code> … … 90 99 </code> 91 100 92 pour récupérer un fichier netcdf à partir de la fraction extraite101 Pour récupérer un fichier netcdf à partir de la fraction extraite 93 102 94 103 <code> … … 96 105 </code> 97 106 98 utile aussi quand on rencontre un problème sur une commande par exemple ncatted. Ie pour faire des corrections à la main ! 107 Utile aussi quand on rencontre un problème sur une commande par exemple ncatted. Ie pour faire des corrections à la main ! 108 99 109 100 110 == ncview == … … 112 122 </code> 113 123 114 voir aussi cdat et vcdat comme utilitaires de visualisation rapide 124 Voir aussi cdat et vcdat comme utilitaires de visualisation rapide 125 115 126 116 127 == ncap2 == 117 118 128 <code> 119 129 ncap2 -O -v -s 'gpp_moy=(GPP*VEGET_MAX).avg($PFT)' stomate_history.nc my_history.nc 120 130 </code> 121 131 122 voir exemples de commandes sur : http://nco.sourceforge.net/ncap2.in 132 Voir exemples de commandes sur : http://nco.sourceforge.net/ncap2.in 133 123 134 124 135 == ncpdq == … … 134 145 </code> 135 146 136 ----137 138 [[reunions_orchidee:cdo_netcdf|Page dedicated to the cdo function]]