From b863a611f037b6bbf4a5230aa3f5c1fb3d0b5d5a Mon Sep 17 00:00:00 2001 From: Sebastien Villaume Date: Sat, 28 Jun 2025 22:44:14 +0100 Subject: [PATCH 1/4] adding new wave parameters in Code Table 4.2.10.0 --- GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv | 2 ++ notes/CodeFlag_notes.csv | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv b/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv index 42cb07aa..fcbf9629 100644 --- a/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv +++ b/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv @@ -102,6 +102,8 @@ Parameter number by product discipline and parameter category,"Product disciplin Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",100,,Crest-trough correlation,(see Note 5),180,Numeric,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,X component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",102,,Y component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational +Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,U component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,V component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",103-191,,Reserved,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",192-254,,Reserved for local use,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",255,,Missing,,,,Operational diff --git a/notes/CodeFlag_notes.csv b/notes/CodeFlag_notes.csv index cc88e3dd..2d89668b 100644 --- a/notes/CodeFlag_notes.csv +++ b/notes/CodeFlag_notes.csv @@ -176,4 +176,5 @@ noteID,note 179,"BFI2D is calculated by dividing the BFI by an expression that increases with the directional spread and decreases with the peakedness. It comes from the consideration that an increase of the directional spread reduces the excess of kurtosis, which is not taken into account in the BFI alone. Mori, N., M. Onorato, and P. A. E. M. Janssen, 2011: On the Estimation of the Kurtosis in Directional Sea States for Freak Wave Forecasting. J. Phys. Oceanogr., 41, 1484–1497, https://doi.org/10.1175/2011JPO4542.1" 180,"Crest-trough correlation is an estimate of the auto-correlation between the crest heights and the trough depths. In narrow-banded seas this parameter is quite high, because crests and troughs are approximately the same size. Gemmrich, J., Cicon, L. Generation mechanism and prediction of an observed extreme rogue wave. Sci Rep 12, 1718 (2022). https://doi.org/10.1038/s41598-022-05671-4" 181,"This is a metric that quantifies the wave-induced mechanical fatigue on the sea-ice pack (0 means broken, 1 means solid). This metric only makes sense in the presence of sea ice." -182,"The x- and y- components of the wave radiative stress to sea-ice are not necessarily equivalent to the u- and v- components (eastward/northward). The x- and y- components strictly follow the defined coordinate system which may or may not follow the eastward and northward directions." \ No newline at end of file +182,"The x- and y- components of the wave radiative stress to sea-ice are not necessarily equivalent to the u- and v- components (eastward/northward). The x- and y- components strictly follow the defined coordinate system which may or may not follow the eastward and northward directions." +317a,"The atmospheric surface momentum flux is what the atmosphere is losing at the surface of the ocean. The surface momentum flux into the ocean is the momentum flux that is entering the ocean and driving the ocean circulation.The difference is that part of the atmospheric momentum flux goes into the waves and not into the ocean circulation or part of the momentum contained in the wave field that is transferred to the ocean when waves break. In short, the ocean surface has waves which modulate the momentum transfer between the atmosphere and the ocean interior." From 423840a1378ef5141635ab8426dd4384b8849a4e Mon Sep 17 00:00:00 2001 From: Enrico Fucile Date: Sat, 28 Jun 2025 21:44:39 +0000 Subject: [PATCH 2/4] xml,txt files --- txt/CodeFlag.txt | 2 ++ xml/CodeFlag.xml | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/txt/CodeFlag.txt b/txt/CodeFlag.txt index e57a23fb..68acfb06 100644 --- a/txt/CodeFlag.txt +++ b/txt/CodeFlag.txt @@ -1794,6 +1794,8 @@ Code table 4.2 - Parameter number by product discipline and parameter category," Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",100,,Crest-trough correlation,(see Note 5),180,Numeric,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,X component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",102,,Y component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,U component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,V component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",103-191,,Reserved,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",192-254,,Reserved for local use,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",255,,Missing,,,,Operational diff --git a/xml/CodeFlag.xml b/xml/CodeFlag.xml index 5de86c0a..1017f3fb 100644 --- a/xml/CodeFlag.xml +++ b/xml/CodeFlag.xml @@ -10770,6 +10770,18 @@ Y component of the wave radiative stress to sea-ice Operational + + Code table 4.2 - Parameter number by product discipline and parameter category + 101 + U component of atmospheric surface momentum flux + Operational + + + Code table 4.2 - Parameter number by product discipline and parameter category + 101 + V component of atmospheric surface momentum flux + Operational + Code table 4.2 - Parameter number by product discipline and parameter category 103-191 From dcebcb61210136784b810ba247010097aa62cd79 Mon Sep 17 00:00:00 2001 From: Anna Milan Date: Wed, 2 Jul 2025 14:05:30 +0200 Subject: [PATCH 3/4] Apply suggestions from code review editorial --- GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv | 4 ++-- notes/CodeFlag_notes.csv | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv b/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv index fcbf9629..4ab00aaf 100644 --- a/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv +++ b/GRIB2_CodeFlag_4_2_10_0_CodeTable_en.csv @@ -102,8 +102,8 @@ Parameter number by product discipline and parameter category,"Product disciplin Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",100,,Crest-trough correlation,(see Note 5),180,Numeric,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,X component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",102,,Y component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational -Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,U component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational -Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,V component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,u-component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,v-component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",103-191,,Reserved,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",192-254,,Reserved for local use,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",255,,Missing,,,,Operational diff --git a/notes/CodeFlag_notes.csv b/notes/CodeFlag_notes.csv index 2d89668b..fa8b0683 100644 --- a/notes/CodeFlag_notes.csv +++ b/notes/CodeFlag_notes.csv @@ -177,4 +177,4 @@ noteID,note 180,"Crest-trough correlation is an estimate of the auto-correlation between the crest heights and the trough depths. In narrow-banded seas this parameter is quite high, because crests and troughs are approximately the same size. Gemmrich, J., Cicon, L. Generation mechanism and prediction of an observed extreme rogue wave. Sci Rep 12, 1718 (2022). https://doi.org/10.1038/s41598-022-05671-4" 181,"This is a metric that quantifies the wave-induced mechanical fatigue on the sea-ice pack (0 means broken, 1 means solid). This metric only makes sense in the presence of sea ice." 182,"The x- and y- components of the wave radiative stress to sea-ice are not necessarily equivalent to the u- and v- components (eastward/northward). The x- and y- components strictly follow the defined coordinate system which may or may not follow the eastward and northward directions." -317a,"The atmospheric surface momentum flux is what the atmosphere is losing at the surface of the ocean. The surface momentum flux into the ocean is the momentum flux that is entering the ocean and driving the ocean circulation.The difference is that part of the atmospheric momentum flux goes into the waves and not into the ocean circulation or part of the momentum contained in the wave field that is transferred to the ocean when waves break. In short, the ocean surface has waves which modulate the momentum transfer between the atmosphere and the ocean interior." +317a,"The atmospheric surface momentum flux is what the atmosphere is losing at the surface of the ocean. The surface momentum flux into the ocean is the momentum flux that is entering the ocean and driving the ocean circulation. The difference is that part of the atmospheric momentum flux goes into the waves and not into the ocean circulation or part of the momentum contained in the wave field that is transferred to the ocean when waves break. In short, the ocean surface has waves which modulate the momentum transfer between the atmosphere and the ocean interior." From c766fbc5b4569312d1939a3f0f4792eff84e8f5b Mon Sep 17 00:00:00 2001 From: Enrico Fucile Date: Wed, 2 Jul 2025 12:05:49 +0000 Subject: [PATCH 4/4] xml,txt files --- txt/CodeFlag.txt | 4 ++-- xml/CodeFlag.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/txt/CodeFlag.txt b/txt/CodeFlag.txt index 68acfb06..c1807efb 100644 --- a/txt/CodeFlag.txt +++ b/txt/CodeFlag.txt @@ -1794,8 +1794,8 @@ Code table 4.2 - Parameter number by product discipline and parameter category," Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",100,,Crest-trough correlation,(see Note 5),180,Numeric,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,X component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",102,,Y component of the wave radiative stress to sea-ice,(see Note 6),182,N m-2,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,U component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,V component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,u-component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",101,,v-component of atmospheric surface momentum flux,(see Note 7),317a,N m-2,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",103-191,,Reserved,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",192-254,,Reserved for local use,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 10 - Oceanographic products, parameter category 0: waves",255,,Missing,,,,Operational diff --git a/xml/CodeFlag.xml b/xml/CodeFlag.xml index 1017f3fb..6eb55172 100644 --- a/xml/CodeFlag.xml +++ b/xml/CodeFlag.xml @@ -10773,13 +10773,13 @@ Code table 4.2 - Parameter number by product discipline and parameter category 101 - U component of atmospheric surface momentum flux + u-component of atmospheric surface momentum flux Operational Code table 4.2 - Parameter number by product discipline and parameter category 101 - V component of atmospheric surface momentum flux + v-component of atmospheric surface momentum flux Operational