12
NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

Embed Size (px)

Citation preview

Page 1: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

NCAS Unified Model Introduction

Part 4a: UM tools and facilities

University of Reading, 3-5 December 2014

Page 2: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

2

UM

GRIB

ASCI

UM

PP

GRIB

UM

PP

ASCI

netcdfnetcdf

UM Tools should provide a full range of input and output format possibilities

File formats

Page 3: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

3

Model64-bit UM

GRIBECMWF data

reconfiguration

DECODE

netcdf 64-bit PP

pptoanc

32-bit PP(from UKMO)

IDL/Fortran

32-bit UM

um32to64

GRIBMetview

Fortran

64-bit PP

32-bit PPMet Office graphics

netcdf Python, idl Ferret, Grads cdat

convpp

fftopp

xconv

ieee

convpp32-bit

wconv.pl

Conversion tools

Page 4: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

4

Tool Input Output

pptoanc PP UM (ancillary)

xancil netCDF UM (ancillary)

convpp UM PP

ff2pp UM (fields format) 32-bit PP

ieee UM 32-bit UM

bigend UM byte-swapped UM

xconv UM and PP netcdf

cf-python PP CF-netcdf

All tools and output 64-bit unless otherwise stated

Data conversion

UM tools (i)

Page 5: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

5

Tool Purpose

cumf Compares UM format files

pumf Prints out header information for PP files

uminfo Header information UM

ppinfo Header information PP

Data information

Data manipulation

Tool Purpose

umpack Removes spare headers and extra buffers from UM files

fieldop Adds, subtracts, multiplies, divides UM (fields files) format

UM tools (ii)

Page 6: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

6

Xconv

• Xconv can be used to see what fields are contained within a data file and to look at the data values, either directly at the numerical values or at a gridbox fill plot of the data.

• It can also convert model output into netCDF. Supported input formats: – Data output from the UKMO Unified Model– UKMO PP format– GRIB format– netcdf format

• Data manipulations available:– Spectral to gridpoint– Interpolation (bilinear or area-weighted)– Conversion to and from rotated grids

Page 7: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

7

Page 8: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

8

Making ancillary files (i)

• For creating standard ancillary files can use the Central Ancillary Program (CAP)– Orography– Land-sea mask– Soil moistue, snow– Vegetation– Aerosol– Sea surface temperatue, sea-ice– Ozone

• Typically used for running the LAM

• Contact the CMS helpdesk for more information: http://cms.ncas.ac.uk/wiki/CmsHelpdesk

Page 9: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

9

Making ancillary files (ii)

netCDF data fileon the UM grid

with land-sea mask

PP-format file

Create using a tool of your choice (python, idl, …)

This can also be done with xancil

For creation of ancillary files from your own data.

Conversion tool

UM ancillary file

pptoanc

Page 10: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

10

xancil

Page 11: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

11

ff2pp

NDdiag

xconv

Ferret grads

Jplot

Python, idlMATLAB etc

UKMO library (midl)

Visualisation and analysis

cf-python

cfplot

Iris

UM fields filesUM run

Page 12: NCAS Unified Model Introduction Part 4a: UM tools and facilities University of Reading, 3-5 December 2014

12

Jasmin Analysis Platform (JAP)

• Collection of tools commonly used for atmospheric and Earth observation science, including: – NetCDF and nco tools – Cf-python, cfplot and Iris– Xconv, CDAT and lots more

• Installed on all the Jasmin systems (at BADC, Bristol, Reading and Leeds).

• Can download as: – Virtual Machine, which will work on any system running VirtualBox– RPMs for RHEL/CentOS Linux http://proj.badc.rl.ac.uk/cedaservices/wiki/JASMIN/AnalysisPlatform