Project

General

Profile

Error when using sellonlatbox

Added by shiv shrestha over 4 years ago

Warning (cdfScanVarAttributes) : NetCDF: Variable not found - areacella
Assertion failed: pxp->bf_offset <= offset && offset < pxp->bf_offset + (off_t) pxp->bf_extent, file posixio.c, line 325
[1] 3


Replies (9)

RE: Error when using sellonlatbox - Added by Karin Meier-Fleischer over 4 years ago

Hi Shiv,

the first line is just a warning that the variable areacella is not found in the file.
Without your data file I can't say why there occurs an 'assertion failed' error.
Can you upload the file or the output of 'ncdump -h'?

-Karin

RE: Error when using sellonlatbox - Added by Karin Meier-Fleischer over 4 years ago

You have to change the permissions of the files.

RE: Error when using sellonlatbox - Added by shiv shrestha over 4 years ago

sorry for the trouble.

RE: Error when using sellonlatbox - Added by Ralf Mueller over 4 years ago

as long as we cannot access the file there can be no comment, sorry.

RE: Error when using sellonlatbox - Added by shiv shrestha over 4 years ago

i guess i got it right now...
i am sorry it was schools domain and had secuirty issues
.
https://drive.google.com/open?id=1w5CFWEq3AuMO8bsp66m0F0rzggx-bTwP

RE: Error when using sellonlatbox - Added by Karin Meier-Fleischer over 4 years ago

I can't reproduce the problem. Which version are you using (cdo -V)?

cdo sinfon pr_day_CCSM4_historical_r2i1p1_19900101-20051231.nc 
   File format : NetCDF
    -1 : Institut Source   T Steptype Levels Num    Points Num Dtype : Parameter name
     1 : unknown  CCSM4    v instant       1   1     55296   1  F32  : pr            
   Grid coordinates :
     1 : lonlat                   : points=55296 (288x192)
                              lon : 0 to 358.75 by 1.25 degrees_east  circular
                              lat : -90 to 90 by 0.9424084 degrees_north
                        available : cellbounds
   Vertical coordinates :
     1 : surface                  : levels=1
   Time coordinate :  5840 steps
     RefTime =  1850-01-01 00:00:00  Units = days  Calendar = 365_day  Bounds = true
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss
  1990-01-01 12:00:00  1990-01-02 12:00:00  1990-01-03 12:00:00  1990-01-04 12:00:00
  1990-01-05 12:00:00  1990-01-06 12:00:00  1990-01-07 12:00:00  1990-01-08 12:00:00
  1990-01-09 12:00:00  1990-01-10 12:00:00  1990-01-11 12:00:00  1990-01-12 12:00:00
  1990-01-13 12:00:00  1990-01-14 12:00:00  1990-01-15 12:00:00  1990-01-16 12:00:00
  1990-01-17 12:00:00  1990-01-18 12:00:00  1990-01-19 12:00:00  1990-01-20 12:00:00
  1990-01-21 12:00:00  1990-01-22 12:00:00  1990-01-23 12:00:00  1990-01-24 12:00:00
  1990-01-25 12:00:00  1990-01-26 12:00:00  1990-01-27 12:00:00  1990-01-28 12:00:00
  1990-01-29 12:00:00  1990-01-30 12:00:00  1990-01-31 12:00:00  1990-02-01 12:00:00
  1990-02-02 12:00:00  1990-02-03 12:00:00  1990-02-04 12:00:00  1990-02-05 12:00:00
  1990-02-06 12:00:00  1990-02-07 12:00:00  1990-02-08 12:00:00  1990-02-09 12:00:00
  1990-02-10 12:00:00  1990-02-11 12:00:00  1990-02-12 12:00:00  1990-02-13 12:00:00
  1990-02-14 12:00:00  1990-02-15 12:00:00  1990-02-16 12:00:00  1990-02-17 12:00:00
  1990-02-18 12:00:00  1990-02-19 12:00:00  1990-02-20 12:00:00  1990-02-21 12:00:00
  1990-02-22 12:00:00  1990-02-23 12:00:00  1990-02-24 12:00:00  1990-02-25 12:00:00
  1990-02-26 12:00:00  1990-02-27 12:00:00  1990-02-28 12:00:00  1990-03-01 12:00:00
   ................................................................................
   ................................................................................
   .................................................
  2005-11-02 12:00:00  2005-11-03 12:00:00  2005-11-04 12:00:00  2005-11-05 12:00:00
  2005-11-06 12:00:00  2005-11-07 12:00:00  2005-11-08 12:00:00  2005-11-09 12:00:00
  2005-11-10 12:00:00  2005-11-11 12:00:00  2005-11-12 12:00:00  2005-11-13 12:00:00
  2005-11-14 12:00:00  2005-11-15 12:00:00  2005-11-16 12:00:00  2005-11-17 12:00:00
  2005-11-18 12:00:00  2005-11-19 12:00:00  2005-11-20 12:00:00  2005-11-21 12:00:00
  2005-11-22 12:00:00  2005-11-23 12:00:00  2005-11-24 12:00:00  2005-11-25 12:00:00
  2005-11-26 12:00:00  2005-11-27 12:00:00  2005-11-28 12:00:00  2005-11-29 12:00:00
  2005-11-30 12:00:00  2005-12-01 12:00:00  2005-12-02 12:00:00  2005-12-03 12:00:00
  2005-12-04 12:00:00  2005-12-05 12:00:00  2005-12-06 12:00:00  2005-12-07 12:00:00
  2005-12-08 12:00:00  2005-12-09 12:00:00  2005-12-10 12:00:00  2005-12-11 12:00:00
  2005-12-12 12:00:00  2005-12-13 12:00:00  2005-12-14 12:00:00  2005-12-15 12:00:00
  2005-12-16 12:00:00  2005-12-17 12:00:00  2005-12-18 12:00:00  2005-12-19 12:00:00
  2005-12-20 12:00:00  2005-12-21 12:00:00  2005-12-22 12:00:00  2005-12-23 12:00:00
  2005-12-24 12:00:00  2005-12-25 12:00:00  2005-12-26 12:00:00  2005-12-27 12:00:00
  2005-12-28 12:00:00  2005-12-29 12:00:00  2005-12-30 12:00:00  2005-12-31 12:00:00
cdo    sinfon: Processed 1 variable over 5840 timesteps [0.78s 17MB].
cdo -sellonlatbox,0,180,0,90  pr_day_CCSM4_historical_r2i1p1_19900101-20051231.nc outfile.nc
cdo    sellonlatbox: Processed 1 variable over 5840 timesteps [1.59s 19MB].
cdo sinfo outfile.nc
   File format : NetCDF
    -1 : Institut Source   T Steptype Levels Num    Points Num Dtype : Parameter ID
     1 : unknown  CCSM4    v instant       1   1     13920   1  F32  : -1            
   Grid coordinates :
     1 : lonlat                   : points=13920 (145x96)
                              lon : 0 to 180 by 1.25 degrees_east
                              lat : 0.4712042 to 90 by 0.9424084 degrees_north
                        available : cellbounds
   Vertical coordinates :
     1 : surface                  : levels=1
   Time coordinate :  5840 steps
     RefTime =  1850-01-01 00:00:00  Units = days  Calendar = 365_day  Bounds = true
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss
  1990-01-01 12:00:00  1990-01-02 12:00:00  1990-01-03 12:00:00  1990-01-04 12:00:00
  1990-01-05 12:00:00  1990-01-06 12:00:00  1990-01-07 12:00:00  1990-01-08 12:00:00
  1990-01-09 12:00:00  1990-01-10 12:00:00  1990-01-11 12:00:00  1990-01-12 12:00:00
  1990-01-13 12:00:00  1990-01-14 12:00:00  1990-01-15 12:00:00  1990-01-16 12:00:00
  1990-01-17 12:00:00  1990-01-18 12:00:00  1990-01-19 12:00:00  1990-01-20 12:00:00
  1990-01-21 12:00:00  1990-01-22 12:00:00  1990-01-23 12:00:00  1990-01-24 12:00:00
  1990-01-25 12:00:00  1990-01-26 12:00:00  1990-01-27 12:00:00  1990-01-28 12:00:00
  1990-01-29 12:00:00  1990-01-30 12:00:00  1990-01-31 12:00:00  1990-02-01 12:00:00
  1990-02-02 12:00:00  1990-02-03 12:00:00  1990-02-04 12:00:00  1990-02-05 12:00:00
  1990-02-06 12:00:00  1990-02-07 12:00:00  1990-02-08 12:00:00  1990-02-09 12:00:00
  1990-02-10 12:00:00  1990-02-11 12:00:00  1990-02-12 12:00:00  1990-02-13 12:00:00
  1990-02-14 12:00:00  1990-02-15 12:00:00  1990-02-16 12:00:00  1990-02-17 12:00:00
  1990-02-18 12:00:00  1990-02-19 12:00:00  1990-02-20 12:00:00  1990-02-21 12:00:00
  1990-02-22 12:00:00  1990-02-23 12:00:00  1990-02-24 12:00:00  1990-02-25 12:00:00
  1990-02-26 12:00:00  1990-02-27 12:00:00  1990-02-28 12:00:00  1990-03-01 12:00:00
   ................................................................................
   ................................................................................
   .................................................
  2005-11-02 12:00:00  2005-11-03 12:00:00  2005-11-04 12:00:00  2005-11-05 12:00:00
  2005-11-06 12:00:00  2005-11-07 12:00:00  2005-11-08 12:00:00  2005-11-09 12:00:00
  2005-11-10 12:00:00  2005-11-11 12:00:00  2005-11-12 12:00:00  2005-11-13 12:00:00
  2005-11-14 12:00:00  2005-11-15 12:00:00  2005-11-16 12:00:00  2005-11-17 12:00:00
  2005-11-18 12:00:00  2005-11-19 12:00:00  2005-11-20 12:00:00  2005-11-21 12:00:00
  2005-11-22 12:00:00  2005-11-23 12:00:00  2005-11-24 12:00:00  2005-11-25 12:00:00
  2005-11-26 12:00:00  2005-11-27 12:00:00  2005-11-28 12:00:00  2005-11-29 12:00:00
  2005-11-30 12:00:00  2005-12-01 12:00:00  2005-12-02 12:00:00  2005-12-03 12:00:00
  2005-12-04 12:00:00  2005-12-05 12:00:00  2005-12-06 12:00:00  2005-12-07 12:00:00
  2005-12-08 12:00:00  2005-12-09 12:00:00  2005-12-10 12:00:00  2005-12-11 12:00:00
  2005-12-12 12:00:00  2005-12-13 12:00:00  2005-12-14 12:00:00  2005-12-15 12:00:00
  2005-12-16 12:00:00  2005-12-17 12:00:00  2005-12-18 12:00:00  2005-12-19 12:00:00
  2005-12-20 12:00:00  2005-12-21 12:00:00  2005-12-22 12:00:00  2005-12-23 12:00:00
  2005-12-24 12:00:00  2005-12-25 12:00:00  2005-12-26 12:00:00  2005-12-27 12:00:00
  2005-12-28 12:00:00  2005-12-29 12:00:00  2005-12-30 12:00:00  2005-12-31 12:00:00
cdo    sinfo: Processed 1 variable over 5840 timesteps [0.04s 16MB].
    (1-9/9)