18
© Crown copyright Met Office The challenges of using netCDF and GRIB for managing forecast data at the Met Office Bruce Wright Closing the GRIB-netCDF Gap Workshop, ECMWF – 24 September 2014

The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

© Crown copyright Met Office

The challenges of using netCDF and GRIB for managing forecast data at the Met OfficeBruce Wright

Closing the GRIB-netCDF Gap Workshop, ECMWF – 24 September 2014

Page 2: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Rather-specific user perspective (by proxy) ...

• Background: Where do we want to be? Where are we now?

© Crown copyright Met Office

• Challenges: What problems have we found?Where do we see issues arising?

• Summary

Page 3: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

© Crown copyright Met Office

BackgroundWhere do we want to be?Where are we now?

Page 4: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Improving the data: content = science-focus

Greater use of Ensembles : Statistical Correction : Blending

Improving the delivery: packaging = technology-focus

Future Forecast Processing‘Best Gridded Data’ project

© Crown copyright Met Office

Improving the delivery: packaging = technology-focus

Standard...

Parameters, Grids & Levels : Formats & Software : Metadata

� Also important to decouple from projected large

NWP model data volumes on new supercomputer

Page 5: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Future Forecast ProcessingDefined level of processing applied

& appropriate usage

© Crown copyright Met Office

Page 6: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Current Forecast ProcessingTwo main gridded data

Derive Additional Diagnostics

Raw

Output

Models

Production

Suite

UKPP

(aka Gridded Post-

Limited models,

all diagnostics

Most models,

limited diagnostics

© Crown copyright Met Office

Post-Process

(Nowcast, Downscale)

Limited Stitch

Seamless

Data

Product

Generation

(e.g. cut outs,

reformatting,

etc)

Users

Low Res

Output

Post Processed

Output

Reproject onto

Standard Grids

Filter onto Low

Resolution Model

Grids

Product

Generation

(e.g. cut outs,

reformatting,

etc)

Users

Processing)

Page 7: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Current Forecast ProcessingBespoke & non-standard format usage

UM FieldsFile

Link Dataset

GPCS FieldsFile

Horace FieldsFile

FieldsFiles& PP Files

PP Files:

Nimrod Format

Main internalprocessing formats

© Crown copyright Met Office

FieldsFile Format processing formats

GRIB1 GRIB2GRIB : Significant use for delivery

netCDF& HDF5

netCDF3 netCDF4 HDF5: Pocketsof usage

Local tables

Specialist conventions

Multiple Encoders

Page 8: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Current Forecast ProcessingExample of complex processing chain

Visual WeatherUnified Model

UM FieldsFile

VisWxDatabase

Link Dataset

(HPC)

Link Dataset (GPCS)

Putibm(transfer)

FFLLIBM (rebuild)

Mainframe (z/OS)

Load GRIB

SWIFTHPC

© Crown copyright Met Office

FieldsFile

UM FieldsFile (extra diags)

Fieldcalc(derive diag.)

UM FieldFile

(GPCS filter)

Fieldcos (convert)

Fieldcalc(filter)

(HPC)

GPCS FieldsFile

Product Suite

Horace FieldsFile

(GPCS)

Horace FieldsFile

(SWIFT)

FTP via DART (transfer)

FieldsFile_to_GRIB (strip PP headers)

GRIB

Load GRIB

Page 9: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

© Crown copyright Met Office

ChallengesWhat problems have we found?Where do we see issues arising?

Page 10: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

• Paradigm shift to use of uncertainty

• Describe using Probability Density Function

Representing PDFs?Ensembles & probabilities

We need one way of representing the PDF that

consistently handles these different forms

© Crown copyright Met Office

Good description• 13 percentiles• Upper & Lower• Mean, Mode, SD

Reasonable description• 5 percentiles• Mean & SD

Minimum description• Mean & SD

Single description• Mean

consistently handles these different forms

Page 11: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Complex processing chain Combining multiple inputs – blending in

space & time

Level 0Raw

Model

Downscale

Unified Model

© Crown copyright Met Office

Post-Processing

Chain

Blending

Best Data

Standard

Model

Post-Processed

Forecast

Level 1

Level 2

Level 3 How do we fully describe the provenance

in a standard, but usable way?

Page 12: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Comprehensive Metadata Fully describe the data

Data

© Crown copyright Met Office

We need registries established for a wide

range of metadata, which easily accessible,

usable and easily maintainable

How complete should the

travelling metadata be?

Page 13: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Standard ApproachesMultiple ways of defining the same info

• height of ground, or:

• height of a surface above sea level

• E.g. in GRIB, Orographic Height:

• E.g. in netCDF, multiple ways of describing statistics:

Compounded by use of Local Tables

© Crown copyright Met Office

We need to agree standard approaches

for use of metadata standards

• ‘traditional’ CF Cell methods

• newer netCDF-U (based on UncertML)

• E.g. in netCDF, multiple ways of describing statistics:

Controlled

Vocabularies�

Governance�

Page 14: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Extending the StandardNot all required capability exists

Had to wait until Transverse Mercator

support added to GRIB2 to distribute data on native grid

CF standard names coverage is

© Crown copyright Met Office

OS National Grid projection

We need to be able extend aspects of

the standard easily and fairly quickly

height_at_cloud_top

height_at_freezing_level

‘feels like temperature’

CF standard names coverage is patchy for many standard ‘weather diagnostics’

�××

Page 15: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Wider Conformance Harmonised standards

• INSPIRE

• Domain-specifics

• Having to conform to other standards:

© Crown copyright Met Office

How do we combine different

metadata standards?

Page 16: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

© Crown copyright Met Office

Summary

Page 17: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Improving the data: content = science-focus

Greater use of Ensembles : Statistical Correction : Blending

SummarySome of the challenges

Provenance PDFs

© Crown copyright Met Office

Improving the delivery: packaging = technology-focus

Standard...

Parameters, Grids & Levels : Formats & Software : Metadata

Registries & Controlled Vocabs

Usable & Easily Extensible

Standard Approaches Multiple Conventions

Governance

Page 18: The challenges of using netCDF and GRIB for managing ... · Improving the data: content = science-focus Greater use of Ensembles : Statistical Correction : Blending Improving the

Any questions?

© Crown copyright Met Office© Crown copyright Met Office [email protected]