NOAA-EMC / NCEPLIBS-grib_util

This is a collection of NCEP GRIB related utilities.
Other
19 stars 11 forks source link

GRIB1 utils still needed anywhere? #122

Closed edwardhartnett closed 2 years ago

edwardhartnett commented 2 years ago

There are a number of GRIB1 utilities in grib_util. Are they used any more? I thought we had no more GRIB1 processing...

I have asked @BoiVuong-NOAA if he knows of any uses of these utilities in processing.

BoiVuong-NOAA commented 2 years ago

Yes, They are still using those utilities in FAA and AWIPS (CONUS grid id 211). We should keep them for awhile. Thanks, Boi

edwardhartnett commented 2 years ago

OK, they are using all 4 of the utilities?

BoiVuong-NOAA commented 2 years ago

I am not sure about copygb and tocgrib. But, Users still use wgrib for displaying content of GRIB1 and grbindex in AWIPS. We can ask NCO for copygb and tocgrib.

edwardhartnett commented 2 years ago

These are used in UFS_UTILS in iceblend and others. @GeorgeGayno-NOAA do you know if UFS_UTILS needs to keep using GRIB1 utilities?

GeorgeGayno-NOAA commented 2 years ago

These are used in UFS_UTILS in iceblend and others. @GeorgeGayno-NOAA do you know if UFS_UTILS needs to keep using GRIB1 utilities?

copygb is still used by UFS_UTILS. And I would bet most of them are still used in operations.

GlennCreighton commented 2 years ago

Not that you guys need to worry about us, but we in the USAF 557WW still use copygb and wgrib, fwiw. We are going to be pulling your NCEPLIBS-grib_util code into our pipelines shortly (we may or may not still be running ancient code once found on NCEP's old ftp sites).

edwardhartnett commented 2 years ago

OK so we still don't know of anyone using tocgrib?

@BoiVuong-NOAA do you know who that was written for?

From the code:

!> Program reads selected GRIB fields from a file, adds a TOC Flag Field
!> separator block and WMO Header in front of each GRIB field, and
!> writes them out to a new file. The output file is in the format
!> required for TOC's FTP Input Service, which can be used to
!> disseminate the GRIB bulletins. This service is described at
!> http://weather.gov/tg/ftpingest.html.
!>
!> ### Program History Log
!> Date | Programmer | Comments
!> -----|------------|---------
!> 2003-03-28 | Gilbert | Initial
!> 2012-10-22 | Vuong | changed variable envvar to character*6
!> 2016-10-15 | Vuong | increased length of file name to 200 characters
BoiVuong-NOAA commented 2 years ago

This tocgrib uses to insert WMO header in grib1 for AWIPS.  We can check with NCO to confirm before we can remove it from grib_util.

On 1/6/2022 7:59 AM, Edward Hartnett wrote:

OK so we still don't know of anyone using tocgrib?

@BoiVuong-NOAA https://github.com/BoiVuong-NOAA do you know who that was written for?

From the code:

|!> Program reads selected GRIB fields from a file, adds a TOC Flag Field !> separator block and WMO Header in front of each GRIB field, and !> writes them out to a new file. The output file is in the format !> required for TOC's FTP Input Service, which can be used to !> disseminate the GRIB bulletins. This service is described at !> http://weather.gov/tg/ftpingest.html. !> !> ### Program History Log !> Date | Programmer | Comments !> -----|------------|--------- !> 2003-03-28 | Gilbert | Initial !> 2012-10-22 | Vuong | changed variable envvar to character*6 !> 2016-10-15 | Vuong | increased length of file name to 200 characters |

— Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/NCEPLIBS-grib_util/issues/122#issuecomment-1006569771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQMPTWCSR6QNPA7ELJQWRTUUWG2BANCNFSM5LJ5UPJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

edwardhartnett commented 2 years ago

What about tocgrib2 and tcgrib2super? Are they still used?

I will ask NCO about tocgrib...

BoiVuong-NOAA commented 2 years ago

Yes, These two codes (tocgrib2 and tocgrib2super)  are using in PROD.

On 1/6/2022 8:11 AM, Edward Hartnett wrote:

What about tocgrib2 and tcgrib2super? Are they still used?

I will ask NCO about tocgrib...

— Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/NCEPLIBS-grib_util/issues/122#issuecomment-1006579640, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQMPTSAW5HE5PN4TOSJULLUUWIGJANCNFSM5LJ5UPJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

edwardhartnett commented 2 years ago

What is PROD?

BoiVuong-NOAA commented 2 years ago

PROD is production.

On 1/6/2022 8:16 AM, Edward Hartnett wrote:

What is PROD?

— Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/NCEPLIBS-grib_util/issues/122#issuecomment-1006583170, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQMPTXRJCLXAPZPNLYT5Y3UUWIZBANCNFSM5LJ5UPJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

edwardhartnett commented 2 years ago

So you mean the GFS? Or something else? Please be as specific as possible...

BoiVuong-NOAA commented 2 years ago

These codes are using in all models (GFS, NAM, SMOKE, RAP, HRRR, NWPS, etc.) in production for AWIPS  and NDFD.

On 1/6/2022 8:35 AM, Edward Hartnett wrote:

So you mean the GFS? Or something else? Please be as specific as possible...

— Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/NCEPLIBS-grib_util/issues/122#issuecomment-1006596963, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQMPTUMHDKS32IAKRYTQCTUUWLAXANCNFSM5LJ5UPJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

edwardhartnett commented 2 years ago

From Steve Earle:

I know tocgrib is still used. I'm not sure how widespread its use is but I know at least the RAP uses it to generate products for the FAA. I suspect there are others who still use it for grib1 products that the FAA can't seem to get off of... Steven

edwardhartnett commented 2 years ago

OK, so who do I list as users for:

@BoiVuong-NOAA do you know where these are being used?

BoiVuong-NOAA commented 2 years ago

These codes are available to all users who want to convert from grib2 to grib1 (cnvgrib) or to interpolate (copygb2) or to see content of grib2 file (degrib2) or to generate an grib2 index file (grb2index). I do not know where are being used in production. You might check with NCO.