HOWTO calculate Stream Function etc from U and V

(check out the UM wiki pages on sfvp too) Jeff has a program that can do this! It lives here:
/home/jeff/linux_x86_64/bin/sfvp_64bit_offset

This will print the help for sfvp:

 These are the instructions for sfvp
  
 Usage:
 sfvp fn1 vn1 fn2 vn2 opfn
  
 Description:
 Calculates streamfunction and velocity potential
 on the sphere, given inputs of the two velocity
 components on the UM velocity grid
  
  
  
 STOP  

sfvp outputs:

Note

sfvp only really likes 4d files. To convert a 3d file to a 4d file (by inserting a dummy axis) use ~dan/idl/conv3d4d.pro

Note2

I've semi-automated the process of calculating seasonal_means and ensemble_mean_seasonal_means from the output of sfvp. The script that does this lives at /home/dan/data/UM_DATA/SFcalc
Page updated on