Changes between Version 1 and Version 2 of ToolsAndUtilities/Sfvp
- Timestamp:
- 29/04/13 10:07:27 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ToolsAndUtilities/Sfvp
v1 v2 1 1 = SFVP = 2 2 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 7 To get access to the `sfvp` executable run 4 8 {{{ 5 9 setup umtools … … 42 46 * 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` 43 47 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 ncpdqusage 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.