wiki:ToolsAndUtilities/PpFileTools

Version 2 (modified by ros, 7 years ago) (diff)

PP File Manipulation Tools

PP format is a Met Office proprietary format and is mainly associated with Met Office products. It uses Fortran sequential unformatted records. PP format is "big endian".

The utilities xconv and jplot allow users to view the contents of PP-format files.

pp_unpack

BADC files are stored in WGDOS packed format (run ppinfo on them to see this). This tool unpacks them for use with other tools such as pp_merge and NDdiag.

Usage:

pp_unpack {list of PP files}

Each input file is unpacked and stored in a file with .unpacked appended to the filename. For example, to process a collection of PP files for use with NDdiag:

pp_unpack *.pp

pp_merge out.pp *.unpacked

will create the file out.pp ready for NDdiag.

Download pp_unpack source code

The source code for the tools pp_merge, pp_rdiff, pp_qdiff and pp_getfields can be downloaded. Unpack the tar file and type make for instructions.

Attachments (7)

Download all attachments as: .zip