[ncl-talk] GKS contour problem

Rick Brownrigg brownrig at ucar.edu
Tue Apr 9 09:53:40 MDT 2019


Its very hard to say from just inspecting your script. There are multiple
places where corners appear to be set, many of them commented out, and the
readers here are left to wonder which were in effect at the time the error
messages would occur. It does sound like the corners specification is not
correct -- I would print values everywhere.

I would also note that the setting for the resource mpLambertParallel2F is
not a valid value for latitude -- this looks like a setting for
mpLambertMeridianF. I don't know if this is enough to confuse the
projection algorithm or not. Maybe fix this first before trying anything
else?

Rick

On Tue, Apr 9, 2019 at 1:16 AM LSL <lslrsgis at whu.edu.cn> wrote:

> Dear NCL Community,
>
>
> I am writing for a GKS contour problem. The lines relative to this error
> might be something for projection. The complete NCL script is attached.
>
>
> ; res at mpLimitMode = "Corners"
>
> ; res at mpLeftCornerLatF = lat2d(nlat-1,nlon-1)
>
> ; res at mpLeftCornerLonF = lon2d(0,0)
>
> ; res at mpRightCornerLatF = lat2d(0,0)
>
> ; res at mpRightCornerLonF = lon2d(nlat-1,nlon-1)
>
>
> The errors are given as follows:
>
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> warning:TickMarkSetValues: Zero span between tmXBDataLeftF and
> tmXBDataRightF, turning bottom tickmarks off:[errno=1104]
>
> warning:TickMarkSetValues: Zero span between tmXTDataLeftF and
> tmXTDataRightF, turning top tickmarks off:[errno=1104]
>
> warning:TickMarkSetValues: Zero span between tmYLDataBottomF and
> tmYLDataTopF, turning left tickmarks off:[errno=1104]
>
> warning:TickMarkSetValues: Zero span between tmYRDataBottomF and
> tmYRDataTopF, turning right tickmarks off:[errno=1104]
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :
>
> --RECTANGLE DEFINITION IS INVALID
>
> GKS ERROR NUMBER -107 ISSUED FROM SUBROUTINE GSVP :
>
> --MAXIMUM NUMBER OF ERROR MESSAGES EXCEEDED
>
>
> Any indications would be appreciated. Thanks in advance.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190409/508f725e/attachment.html>


More information about the ncl-talk mailing list