@ -92,7 +92,7 @@ def interplevel(field3d, vert, desiredlev, missing=default_fill(np.float64),
@@ -92,7 +92,7 @@ def interplevel(field3d, vert, desiredlev, missing=default_fill(np.float64),
@set_interp_metadata ( " cross " )
def vertcross ( field3d , vert , levels = None , missing = default_fill ( np . float64 ) ,
wrfin = None , timeidx = 0 , stagger = None , projection = None ,
ll_lat = None , ll_lon = None ,
ll_point = None ,
pivot_point = None , angle = None ,
start_point = None , end_point = None ,
latlon = False , cache = None , meta = True ) :
@ -166,15 +166,11 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
@@ -166,15 +166,11 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
coordinates , and must be specified if * wrfin * is None . Default
is None .
ll_lat ( : obj : ` float ` , sequence of : obj : ` float ` , optional ) : The lower
left latitude ( s ) for your domain , and must be specified if
* wrfin * is None . If the domain is a moving nest , this should be a
sequence of lower left latitudes . Default is None .
ll_lon ( : obj : ` float ` , sequence of : obj : ` float ` , optional ) : The lower
left longitude ( s ) for your domain , and must be specified if
* wrfin * is None . If the domain is a moving nest , this should be
a sequence of lower left longitudes . Default is None .
ll_point ( : class : ` wrf . CoordPair ` , sequence of : class : ` wrf . CoordPair ` , \
optional ) : The lower left latitude , longitude point for your domain ,
and must be specified
if * wrfin * is None . If the domain is a moving nest , this should be
a sequence of : class : ` wrf . CoordPair ` . Default is None .
pivot_point ( : class : ` wrf . CoordPair ` , optional ) : A coordinate pair for
the pivot point , which indicates the location through which
@ -262,7 +258,7 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
@@ -262,7 +258,7 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
if pivot_point is not None :
if pivot_point . lat is not None and pivot_point . lon is not None :
xy_coords = to_xy_coords ( pivot_point , wrfin , timeidx ,
stagger , projection )
stagger , projection , ll_point )
pivot_point_xy = ( xy_coords . x , xy_coords . y )
else :
pivot_point_xy = ( pivot_point . x , pivot_point . y )
@ -270,14 +266,14 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
@@ -270,14 +266,14 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
if start_point is not None and end_point is not None :
if start_point . lat is not None and start_point . lon is not None :
xy_coords = to_xy_coords ( start_point , wrfin , timeidx ,
stagger , projection )
stagger , projection , ll_point )
start_point_xy = ( xy_coords . x , xy_coords . y )
else :
start_point_xy = ( start_point . x , start_point . y )
if end_point . lat is not None and end_point . lon is not None :
xy_coords = to_xy_coords ( end_point , wrfin , timeidx ,
stagger , projection )
stagger , projection , ll_point )
end_point_xy = ( xy_coords . x , xy_coords . y )
else :
end_point_xy = ( end_point . x , end_point . y )
@ -302,7 +298,7 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
@@ -302,7 +298,7 @@ def vertcross(field3d, vert, levels=None, missing=default_fill(np.float64),
@set_interp_metadata ( " line " )
def interpline ( field2d , pivot_point = None ,
wrfin = None , timeidx = 0 , stagger = None , projection = None ,
ll_lat = None , ll_lon = None ,
ll_point = None ,
angle = None , start_point = None ,
end_point = None , latlon = False ,
cache = None , meta = True ) :
@ -352,15 +348,11 @@ def interpline(field2d, pivot_point=None,
@@ -352,15 +348,11 @@ def interpline(field2d, pivot_point=None,
not be used when working with x , y coordinates . Default
is None .
ll_lat ( : obj : ` float ` , sequence of : obj : ` float ` , optional ) : The lower
left latitude ( s ) for your domain , and must be specified if
* wrfin * is None . If the domain is a moving nest , this should be a
sequence of lower left latitudes . Default is None .
ll_lon ( : obj : ` float ` , sequence of : obj : ` float ` , optional ) : The lower
left longitude ( s ) for your domain , and must be specified if
* wrfin * is None . If the domain is a moving nest , this should be
a sequence of lower left longitudes . Default is None .
ll_point ( : class : ` wrf . CoordPair ` , sequence of : class : ` wrf . CoordPair ` , \
optional ) : The lower left latitude , longitude point for your domain ,
and must be specified
if * wrfin * is None . If the domain is a moving nest , this should be
a sequence of : class : ` wrf . CoordPair ` . Default is None .
pivot_point ( : class : ` wrf . CoordPair ` , optional ) : A coordinate pair for
the pivot point , which indicates the location through which
@ -442,7 +434,7 @@ def interpline(field2d, pivot_point=None,
@@ -442,7 +434,7 @@ def interpline(field2d, pivot_point=None,
if pivot_point is not None :
if pivot_point . lat is not None and pivot_point . lon is not None :
xy_coords = to_xy_coords ( pivot_point , wrfin , timeidx ,
stagger , projection , ll_lat , ll_l on )
stagger , projection , ll_p oi nt )
pivot_point_xy = ( xy_coords . x , xy_coords . y )
else :
pivot_point_xy = ( pivot_point . x , pivot_point . y )
@ -450,14 +442,14 @@ def interpline(field2d, pivot_point=None,
@@ -450,14 +442,14 @@ def interpline(field2d, pivot_point=None,
if start_point is not None and end_point is not None :
if start_point . lat is not None and start_point . lon is not None :
xy_coords = to_xy_coords ( start_point , wrfin , timeidx ,
stagger , projection , ll_lat , ll_l on )
stagger , projection , ll_p oi nt )
start_point_xy = ( xy_coords . x , xy_coords . y )
else :
start_point_xy = ( start_point . x , start_point . y )
if end_point . lat is not None and end_point . lon is not None :
xy_coords = to_xy_coords ( end_point , wrfin , timeidx ,
stagger , projection , ll_lat , ll_l on )
stagger , projection , ll_p oi nt )
end_point_xy = ( xy_coords . x , xy_coords . y )
else :
end_point_xy = ( end_point . x , end_point . y )