Open taylor13 opened 5 years ago
in case of southern hemisphere only?
southern hemisphere with longitudes less than 0 but greater than 20W
consider a grid covering latitudes -90 to +20. In this case the current code won't convert to radians. (Also longitudes confined, for example, to -180 to 0)
only if the longitudes are also between -20 and 20.
it's unlikely but valid i agree.
not sure I follow. longitudes and latitudes are independent. If longitudes are in the range -180 to 20, the maximum value is 20, so conversion won't take place even though it should. This is independent of latitude.
my bad you're right. Multi tasking
In the following code
we need an absolute value function applied to data.max() before testing whether it is >20.