[Kst] netcdf file

Peter Kümmel syntheticpp at gmx.net
Mon Jul 23 12:36:43 UTC 2012


Hi Abdoulaye,

I see the same on Linux and Windows, only lat, lon, time and plev.
So it is a general problem with our netCdf plugin.

Could it be that only one-dimensional vectors are listed?

float lat(lat) ;
double plev(plev) ;
float lon(lon) ;
double time(time) ;

Then it is obviously: no multi dimensional data is supported.

Peter


On 23.07.2012 13:18, Abdoulaye SARR wrote:
> Dear Nicolas,
>
> I used my datasets but also sresa1b_ncar_ccsm3_0_run1_200001.nc <http://sresa1b_ncar_ccsm3_0_run1_200001.nc> and had the
> same problem.
> Maybe I don't understand fairly well how it works.
>
> Thanks,
>
> Abdoulaye
>
> below is ncdump output from the two files;
>
>
> ncdump -c sresa1b_ncar_ccsm3_0_run1_200001.nc <http://sresa1b_ncar_ccsm3_0_run1_200001.nc>
> netcdf sresa1b_ncar_ccsm3_0_run1_200001 {
> dimensions:
> lat = 128 ;
> lon = 256 ;
> bnds = 2 ;
> plev = 17 ;
> time = UNLIMITED ; // (1 currently)
> variables:
> float area(lat, lon) ;
> area:long_name = "Surface area" ;
> area:units = "meter2" ;
> float lat(lat) ;
> lat:long_name = "latitude" ;
> lat:units = "degrees_north" ;
> lat:axis = "Y" ;
> lat:standard_name = "latitude" ;
> lat:bounds = "lat_bnds" ;
> double lat_bnds(lat, bnds) ;
> float lon(lon) ;
> lon:long_name = "longitude" ;
> lon:units = "degrees_east" ;
> lon:axis = "X" ;
> lon:standard_name = "longitude" ;
> lon:bounds = "lon_bnds" ;
> double lon_bnds(lon, bnds) ;
> int msk_rgn(lat, lon) ;
> msk_rgn:long_name = "Mask region" ;
> msk_rgn:units = "bool" ;
> double plev(plev) ;
> plev:long_name = "pressure" ;
> plev:units = "Pa" ;
> plev:standard_name = "air_pressure" ;
> plev:positive = "down" ;
> plev:axis = "Z" ;
> float pr(time, lat, lon) ;
> pr:comment = "Created using NCL code CCSM_atmm_2cf.ncl on\n",
> " machine eagle163s" ;
> pr:missing_value = 1.e+20f ;
> pr:_FillValue = 1.e+20f ;
> pr:cell_methods = "time: mean (interval: 1 month)" ;
> pr:history = "(PRECC+PRECL)*r[h2o]" ;
> pr:original_units = "m-1 s-1" ;
> pr:original_name = "PRECC, PRECL" ;
> pr:standard_name = "precipitation_flux" ;
> pr:units = "kg m-2 s-1" ;
> pr:long_name = "precipitation_flux" ;
> pr:cell_method = "time: mean" ;
> float tas(time, lat, lon) ;
> tas:comment = "Created using NCL code CCSM_atmm_2cf.ncl on\n",
> " machine eagle163s" ;
> tas:missing_value = 1.e+20f ;
> tas:_FillValue = 1.e+20f ;
> tas:cell_methods = "time: mean (interval: 1 month)" ;
> tas:history = "Added height coordinate" ;
> tas:coordinates = "height" ;
> tas:original_units = "K" ;
> tas:original_name = "TREFHT" ;
> tas:standard_name = "air_temperature" ;
> tas:units = "K" ;
> tas:long_name = "air_temperature" ;
> tas:cell_method = "time: mean" ;
> double time(time) ;
> time:calendar = "noleap" ;
> time:standard_name = "time" ;
> time:axis = "T" ;
> time:units = "days since 0000-1-1" ;
> time:bounds = "time_bnds" ;
> time:long_name = "time" ;
> double time_bnds(time, bnds) ;
> float ua(time, plev, lat, lon) ;
> ua:comment = "Created using NCL code CCSM_atmm_2cf.ncl on\n",
> " machine eagle163s" ;
> ua:missing_value = 1.e+20f ;
> ua:cell_methods = "time: mean (interval: 1 month)" ;
> ua:long_name = "eastward_wind" ;
> ua:history = "Interpolated U with NCL \'vinth2p_ecmwf\'" ;
> ua:units = "m s-1" ;
> ua:original_units = "m s-1" ;
> ua:original_name = "U" ;
> ua:standard_name = "eastward_wind" ;
> ua:_FillValue = 1.e+20f ;
>
>
> ncdump -c srf1970.nc <http://srf1970.nc>
> netcdf srf1970 {
> dimensions:
> lon = 158 ;
> lat = 100 ;
> time = UNLIMITED ; // (2920 currently)
> variables:
> double lon(lon) ;
> lon:standard_name = "longitude" ;
> lon:long_name = "longitude" ;
> lon:units = "degrees_east" ;
> lon:axis = "X" ;
> double lat(lat) ;
> lat:standard_name = "latitude" ;
> lat:long_name = "latitude" ;
> lat:units = "degrees_north" ;
> lat:axis = "Y" ;
> double time(time) ;
> time:standard_name = "time" ;
> time:units = "hours since 1970-01-01 03:00:00" ;
> time:calendar = "standard" ;
> float u10m(time, lat, lon) ;
> u10m:long_name = "westerly wind at 10m (m/s)" ;
> u10m:_FillValue = -1.e+34f ;
> float v10m(time, lat, lon) ;
> v10m:long_name = "southerly wind at 10m (m/s)" ;
> v10m:_FillValue = -1.e+34f ;
> float uvdrag(time, lat, lon) ;
> uvdrag:long_name = "surface drag stress" ;
> uvdrag:_FillValue = -1.e+34f ;
> float tg(time, lat, lon) ;
> tg:long_name = "ground temperature (degree)" ;
> tg:_FillValue = -1.e+34f ;
> float tlef(time, lat, lon) ;
> tlef:long_name = "temperature of foliage" ;
> tlef:_FillValue = -1.e+34f ;
> float t2m(time, lat, lon) ;
> t2m:long_name = "air temperature at 2m (K)" ;
> t2m:_FillValue = -1.e+34f ;
> float q2m(time, lat, lon) ;
> q2m:long_name = "water vapor mixing ratio at 2m(kg/kg" ;
> q2m:_FillValue = -1.e+34f ;
> float ssw(time, lat, lon) ;
> ssw:long_name = "upper layer soil water" ;
> ssw:_FillValue = -1.e+34f ;
> float rsw(time, lat, lon) ;
> rsw:long_name = "root zone soil water" ;
> rsw:_FillValue = -1.e+34f ;
> float tpr(time, lat, lon) ;
> tpr:long_name = "total precipitation (mm/day)" ;
> tpr:_FillValue = -1.e+34f ;
> float evp(time, lat, lon) ;
> evp:long_name = "evapotranspiration (mm/day)" ;
> evp:_FillValue = -1.e+34f ;
> float runoff(time, lat, lon) ;
> runoff:long_name = "surface runoff (mm/day)" ;
> runoff:_FillValue = -1.e+34f ;
> float scv(time, lat, lon) ;
> scv:long_name = "snow amount (mm, water equivalent)" ;
> scv:_FillValue = -1.e+34f ;
> float sena(time, lat, lon) ;
> sena:long_name = "sensible heat flux (W/m2)" ;
> sena:_FillValue = -1.e+34f ;
> float flw(time, lat, lon) ;
> flw:long_name = "net infrared energy flux (W/m2)" ;
> flw:_FillValue = -1.e+34f ;
> float fsw(time, lat, lon) ;
> fsw:long_name = "net absorbed solar energy flux (W/m2" ;
> fsw:_FillValue = -1.e+34f ;
> float flwd(time, lat, lon) ;
> flwd:long_name = "downward infrared energy flux (W/m2)" ;
> flwd:_FillValue = -1.e+34f ;
> float sina(time, lat, lon) ;
> sina:long_name = "incident solar energy flux (W/m2)" ;
> sina:_FillValue = -1.e+34f ;
> float prcv(time, lat, lon) ;
> prcv:long_name = "convective precipitation (mm/day)" ;
> prcv:_FillValue = -1.e+34f ;
> float psb(time, lat, lon) ;
> psb:long_name = "surface pressure (hPa)" ;
> psb:_FillValue = -1.e+34f ;
> float zpbl(time, lat, lon) ;
> zpbl:long_name = "PBL layer height" ;
> zpbl:_FillValue = -1.e+34f ;
> float tgmax(time, lat, lon) ;
> tgmax:long_name = "maximum ground temperature (K)" ;
> tgmax:_FillValue = -1.e+34f ;
> float tgmin(time, lat, lon) ;
> tgmin:long_name = "minimum ground temperature (K)" ;
> tgmin:_FillValue = -1.e+34f ;
> float t2max(time, lat, lon) ;
> t2max:long_name = "maximum 2m air temperature (K)" ;
> t2max:_FillValue = -1.e+34f ;
> float t2min(time, lat, lon) ;
> t2min:long_name = "minimum 2m air temperature (K)" ;
> t2min:_FillValue = -1.e+34f ;
> float w10max(time, lat, lon) ;
> w10max:long_name = "maximum 10m wind speed (m/s)" ;
> w10max:_FillValue = -1.e+34f ;
> float ps_min(time, lat, lon) ;
> ps_min:long_name = "minimum surface pressure (hPa)" ;
> ps_min:_FillValue = -1.e+34f ;
>
>
>
> On Mon, Jul 23, 2012 at 6:42 AM, Brisset, Nicolas <Nicolas.Brisset at eurocopter.com
> <mailto:Nicolas.Brisset at eurocopter.com>> wrote:
>
>     Hi again,____
>
>     __ __
>
>     a complement to what I wrote yesterday about dimensions: the datawizard lists only vectors. You can create scalars,
>     strings and matrices with the Create->Scalar, Create->String and Create->Matrix menus.____
>
>     Let me know if it’s working as you expect.____
>
>     __ __
>
>     Cheers,____
>
>     __ __
>
>     Nicolas____
>
>     __ __
>
>     *Von:*kst-bounces at kde.org <mailto:kst-bounces at kde.org> [mailto:kst-bounces at kde.org <mailto:kst-bounces at kde.org>] *Im
>     Auftrag von *Abdoulaye SARR
>     *Gesendet:* Sonntag, 22. Juli 2012 18:55
>     *An:* kst at kde.org <mailto:kst at kde.org>
>     *Betreff:* Re: [Kst] netcdf file____
>
>     __ __
>
>     A package with netcdf has been posted but after install it can recognize netcdf but instead of listing all variables
>     in the file I only have lat, lon, time and plev and then INDEX.
>
>     I don't know what is wrong? any hint?
>
>     Thanks,
>
>     Abdoulaye____
>
>     __ __
>
>
>     _______________________________________________
>     Kst mailing list
>     Kst at kde.org <mailto:Kst at kde.org>
>     https://mail.kde.org/mailman/listinfo/kst
>
>
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list