Opened 13 years ago

Closed 13 years ago

#11 closed help (fixed)

Convert DUMP format to PP format

Reported by: Russo@… Owned by: cwang
Component: Data Keywords:
Cc: Maria.Russo@… Platform:
UM Version:

Description (last modified by admin)

Hi Chang, I've tried ff2pp but it does not work with UM dumps.

I typed: ff2pp $WORKDIR/xahdg/xahdga_da036 ./dump1.pp

and got the following error message: file /hpcx/devt/n02/n02-ncas/emmaria/um_jobs/xahdg/xahdga_da036 is a 64 bit ieee um file ERROR: /hpcx/devt/n02/n02-ncas/emmaria/um_jobs/xahdg/xahdga_da036 is not a UM fieldsfile FIXHD(5) = 1

The fixed header 5 defines the dataset type, and 1 corresponds to a UM dump. I've tried ff2pp on an output pp streams from a UM run which has FIXHD(5)=3 and it works. However the way ff2pp is coded, prevents conversion of UM dumps and ancillaries.

I found that convpp works well to convert ancillaries. It also works with UM dumps, but in this case some of the fields are messed up.

Any idea what's best? Thanks, Maria

Change History (3)

comment:1 Changed 13 years ago by admin

  • Cc Maria.Russo@… added
  • Component changed from UM Model to Data
  • Description modified (diff)
  • Owner changed from lois to cwang
  • Reporter changed from fred@… to Russo@…
  • Summary changed from Test to Convert DUMP format to PP format

comment:2 Changed 13 years ago by admin

Hi Maria:

To convert the UM dump file to PP format, you need to use ieee utility first and then use convpp which is also a case on Met Office machines. The command is:

ieee -32 dumpfile ieee_out.32bit

convpp -32 ieee_out.32bit conv_out.32.pp

The above should work on HPCX

The utility ff2pp works for teh UM fields file.

Chang

comment:3 Changed 13 years ago by cwang

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.