Re: 回复: Re: about pager failed1

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Jun 03 2013 - 10:26:52 MDT

First, I recommend that you do not run NCL interactively. It is better to write a script and run the script.

Secondly, it looks like you have an error:

> "export export NCL_NO_SYSTEM_PAGER=1"

This should be:

> export NCL_NO_SYSTEM_PAGER=

Note that you do not want to set it to anything *and* you had the word "export" twice.

--Mary

On May 31, 2013, at 11:05 PM, dyjbean wrote:

> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 3 10:34:06 2013

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