回复: Re: about pager failed1

From: dyjbean <dyjbean_at_nyahnyahspammersnyahnyah>
Date: Fri May 31 2013 - 23:05:25 MDT

hi,
  i followed your suggestion , add a line "export export NCL_NO_SYSTEM_PAGER=1" in my .bashrc, and start ncl with
"ncl -p",but there still occurred the following error:
ncl 6> printVarSummary(vRain)

Variable: vRain
Type: float
Total Size: 10091520000 bytes
            2522880000 values
Number of Dimensions: 3
Dimensions and sizes: [initial_time0_hours | 2920] x [g0_lat_1 | 600] x [g0_lon_2 | 1440]
Coordinates:
            initial_time0_hours: [1761936..1770693]
            g0_lat_1: [-59.875..89.875]
            g0_lon_2: [-179.875..179.875]
Number Of Attributes: 10
  center : Zagreb
  long_name : Unknown Variable Name
  units : unknown
  _FillValue : 1e+20
  level_indicator : 1
  gds_grid_type : 0
  parameter_table_version : 1
  parameter_number : 132
  forecast_time : 0
  forecast_time_units : hours
ncl 7> dims=dimsizes(vRain)
ncl 8> print(dims(0))
fatal:Pager failed1




dyjbean

发件人: Mary Haley
发送时间: 2013-06-01 06:02
收件人: dyjbean
抄送: ncl-talk
主题: Re: [ncl-talk] about pager failed1
Regarding the PAGER error, see:

http://www.ncl.ucar.edu/FAQ/#err_msgs_028


On May 31, 2013, at 4:22 AM, dyjbean wrote:

> hi,
> i met a fatal error : pager failed 1
>
> i want to read many grib files from a directory, and want to combine the variable from those files.
> the follow is my test code:
> data_indir="result_gldas_noah025subp_3h"
> dRain = systemfunc("ls "+data_indir+"/"+2001+"/"+"Rainf"+"/"+"*.grb")
> fRain = addfiles(dRain,"r")
> ListSetType(fRain,"cat")
> vRain = fRain[:]->VAR_132_GDS0_SFC
> printVarSummary(vRain)
> dims=dimsizes(vRain)
> print(dims(0))
> print(dims(1))
>
> but when i run it in ncl shell prompt, there appeared the following problem
>
> ncl 5> printVarSummary(vRain)
>
> Variable: vRain
> Type: float
> Total Size: 10091520000 bytes
> 2522880000 values
> Number of Dimensions: 2
> Dimensions and sizes: [g0_lat_0 | 1752000] x [g0_lon_1 | 1440]
> Coordinates:
> g0_lat_0: [-59.875..89.875]
> g0_lon_1: [-179.875..179.875]
> Number Of Attributes: 11
> center : Zagreb
> long_name : Unknown Variable Name
> units : unknown
> _FillValue : 1e+20
> level_indicator : 1
> gds_grid_type : 0
> parameter_table_version : 1
> parameter_number : 132
> forecast_time : 0
> forecast_time_units : hours
> initial_time : 01/01/2001 (00:00)
> ncl 6> dims=dimsizes(vRain)
> ncl 7> print(dims(0))
> fatal:Pager failed1
>
> and stop here with not response from the computer,i wonder how this problem come from and how to resolve it.
> thanks
>
> dyjbean
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 31 23:05:45 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT