I have a problem with not plotting the stippling on the polar stereographic plot. I tried to search in ferret FAQs but no such problem is mentioned.
use "
hist-ensemble.nc"
use etopo60
use etopo60
let ro=rose[d=2,gx=slope[d=1,m=1],gy=slope[d=1,m=1]]
let ocean=if ro lt 0 then 1
let stdd = slope[m=@std,d=1]*30*12*1000
let mask = (if abs(slope[m=@ave,d=1]*30*12*1000) ge (2*(stdd/28^0.5)) then 1)*ocean
let nx = `mask,return=isize`
let ny = `mask,return=jsize`
let lon = x[gx=mask,i=1:`nx`:6] + 0*y[gy=mask,j=1:`ny`:6]
let lat = 0*x[gx=mask,i=1:`nx`:6] + y[gy=mask,j=1:`ny`:6]
let p95 = if mask[i=1:`nx`:6,j=1:`ny`:6] eq mask[i=1:`nx`:6,j=1:`ny`:6] then 1 else 0
set grid slope[d=1] ; palette cmocean_balance
go mp_stereographic_south 180 0
set region/y=89.5S:30S/x=20:380.5
go mp_aspect
set viewport a11
fill/lev=(-inf)(-2.5,2.5,0.5)(inf)/nokey/nolab/NOAXIS slope[m=@ave,d=1]*mp_mask, x_page, y_page
go mp_fland 20
go mp_land