Changes between Version 1 and Version 2 of ToolsAndUtilities/Sfvp


Ignore:
Timestamp:
29/04/13 10:07:27 (6 years ago)
Author:
ros
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ToolsAndUtilities/Sfvp

    v1 v2  
    11= SFVP = 
    22 
    3 `sfvp` is a program that can calculate the Stream function and numerous other fields from basic U and V wind components (Please note: AVAILABLE ONLY FOR UNIVERSITY OF READING Researchers). To get access to the `sfvp` executable run 
     3`sfvp` is a program that can calculate the Stream function and numerous other fields from basic U and V wind components 
     4 
     5[[box(Note: Available ONLY for UNIVERSITY OF READING Researchers., type=note)]] 
     6 
     7To get access to the `sfvp` executable run 
    48{{{ 
    59setup umtools 
     
    4246 * 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` 
    4347 
    44  * If you get this error: `POISSON ERROR - WRONG LATITUDE FROM NCNS2G; ABORT` Then it is probably because your lattitude axis is the wrong way around. `sfvp` seems to prefer positive to negative, rather than vice versa. You can fix this by transforming the axis using `xconv`. Using `xconv` to do this may interpolate the data and change the latitude coordinate values, a better way is to use the nco tool [http://nco.sourceforge.net/nco.html#ncpdq-netCDF-Permute-Dimensions-Quickly ncpdq] this will invert the latitude axis without interpolation or changing the coordinate values. An example of ncpdq usage is, `ncpdq -a -latvar file.nc file_latswap.nc`, where `latvar` is the name of the netCDF latitude dimension.  
     48 * If you get this error: `POISSON ERROR - WRONG LATITUDE FROM NCNS2G; ABORT` Then it is probably because your lattitude axis is the wrong way around. `sfvp` seems to prefer positive to negative, rather than vice versa. You can fix this by transforming the axis using `xconv`. Using `xconv` to do this may interpolate the data and change the latitude coordinate values, a better way is to use the nco tool [http://nco.sourceforge.net/nco.html#ncpdq-netCDF-Permute-Dimensions-Quickly ncpdq] this will invert the latitude axis without interpolation or changing the coordinate values. An example of `ncpdq` usage is, `ncpdq -a -latvar file.nc file_latswap.nc`, where `latvar` is the name of the netCDF latitude dimension.