regrid2.pressure¶
-
checkorder
(positionIn)[source]¶ Purpose :
construct the tuples for transposing the data to standard dimension order and the inverse for transposing it back to the original dimension order
Usage :
newOrder, inverseOrder = checkorder(positionIn)
Passed :
positionIn – array with location of longitude, latitude. level and time respectively in the sense of the python shape of the data
- Returns
- newOrdertuple to transpose data to the order (t,z,y,x)
- inverseOrdertuple to transpose data to back to the original order