From 9d9779d8354080feb5731e26893c9024baf03dde Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Fri, 14 Dec 2018 16:15:53 +0100 Subject: [PATCH] Add write support for unstructured_grid gridType #39 --- cfgrib/xarray_to_grib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfgrib/xarray_to_grib.py b/cfgrib/xarray_to_grib.py index abea4f2e..20587cef 100644 --- a/cfgrib/xarray_to_grib.py +++ b/cfgrib/xarray_to_grib.py @@ -45,7 +45,7 @@ ALL_TYPE_OF_LEVELS = TYPE_OF_LEVELS_SFC + TYPE_OF_LEVELS_PL + TYPE_OF_LEVELS_ML GRID_TYPES = [ 'polar_stereographic', 'reduced_gg', 'reduced_ll', 'regular_gg', 'regular_ll', 'rotated_gg', - 'rotated_ll', 'sh', + 'rotated_ll', 'sh', 'unstructured_grid', ] MESSAGE_DEFINITION_KEYS = [ # for the GRIB 2 sample we must set this before setting 'totalNumber'