{"id":20187468,"url":"https://github.com/humbertodias/noaa-parse-grib-files","last_synced_at":"2025-09-08T07:41:25.445Z","repository":{"id":133698941,"uuid":"55072792","full_name":"humbertodias/noaa-parse-grib-files","owner":"humbertodias","description":"Java Way to download and parse GRIB files","archived":false,"fork":false,"pushed_at":"2024-02-15T16:18:59.000Z","size":21,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T21:12:53.475Z","etag":null,"topics":["java","noaa"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/humbertodias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"humbertodias"}},"created_at":"2016-03-30T15:04:30.000Z","updated_at":"2024-04-09T18:29:57.000Z","dependencies_parsed_at":"2024-11-14T03:25:47.362Z","dependency_job_id":"8c83a46b-a683-4af8-852e-a45c3f11d518","html_url":"https://github.com/humbertodias/noaa-parse-grib-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/humbertodias/noaa-parse-grib-files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fnoaa-parse-grib-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fnoaa-parse-grib-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fnoaa-parse-grib-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fnoaa-parse-grib-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humbertodias","download_url":"https://codeload.github.com/humbertodias/noaa-parse-grib-files/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fnoaa-parse-grib-files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274152761,"owners_count":25231293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","noaa"],"created_at":"2024-11-14T03:24:07.498Z","updated_at":"2025-09-08T07:41:25.422Z","avatar_url":"https://github.com/humbertodias.png","language":"Java","funding_links":["https://github.com/sponsors/humbertodias"],"categories":[],"sub_categories":[],"readme":"# Parsing Grib Files\n\nJava Way to download and parse GRIB files.\n\n**NOAA - National Oceanic and Atmospheric Administration**\n\n1. NOAA Servers \n\n\t[http://www.nco.ncep.noaa.gov/pmb/products/](http://www.nco.ncep.noaa.gov/pmb/products/)\n\n2. Global Forecast System (GFS)\n\n\t[http://www.nco.ncep.noaa.gov/pmb/products/gfs/](http://www.nco.ncep.noaa.gov/pmb/products/gfs/)\n\n3. FTP Wave files\n\n\t[http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/](http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/)\n\t\n4. File formats\n\n\t[http://www.nco.ncep.noaa.gov/pmb/products/wave](http://www.nco.ncep.noaa.gov/pmb/products/wave/)\n\n\n## Prerequires\n\n1. Git 2.6+\n2. Maven 3+\n3. Java 8+\n\n\n## How to Play\n\nClone\n\n```shell\ngit clone https://github.com/humbertodias/noaa-parse-grib-files.git\n```\nInside the folder\n\n```shell\ncd noaa-parse-grib-files\n```\n\nFile Source Information\n\n[http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/glwu.20180214/glwu.grlc_2p5km_sr.t02z.grib2](http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/glwu.20180214/glwu.grlc_2p5km_sr.t02z.grib2)\n\n**Directory format**\n\n```\n/glw.20180214\nYYYY\nMM\nDD\n```\n\n***File format***\n\n[glw.grlc_2p5km.t00z.grib2](http://www.nco.ncep.noaa.gov/pmb/products/wave/glw.grlc_2p5km.t00z.grib2.shtml)\n\nRun\n\n```shell\nmvn compile exec:java \\\n-Dexec.mainClass=\"com.noaa.grib.Grib2Decoder\" \\\n-Dexec.args=\"http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/glwu.20180224/glwu.grlc_2p5km.t01z.grib2\"\n```\n\n\n## Output\n\n```\n[INFO] Scanning for projects...\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building noaa-grib-ucar 1.0-SNAPSHOT\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ grid-decoder ---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO] Copying 1 resource\n[INFO] \n[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ grid-decoder ---\n[INFO] Changes detected - recompiling the module!\n[INFO] Compiling 2 source files to /Users/humbertodias/git/noaa-parse-grib-files/target/classes\n[INFO] \n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ grid-decoder ---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO] skip non existing resourceDirectory /Users/humbertodias/git/noaa-parse-grib-files/src/test/resources\n[INFO] \n[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ grid-decoder ---\n[INFO] Nothing to compile - all classes are up to date\n[INFO] \n[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ grid-decoder ---\n[INFO] No tests to run.\n[INFO] \n[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ grid-decoder ---\n[INFO] Building jar: /Users/humbertodias/git/noaa-parse-grib-files/target/grid-decoder-1.0-SNAPSHOT.jar\n[INFO] \n[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ grid-decoder ---\n2018-02-20 20:23:06 INFO  Util:32 - Downloading http://www.ftp.ncep.noaa.gov/data/nccf/com/wave/prod/glwu.20180214/glwu.grlc_2p5km_sr.t02z.grib2 in /tmp/glwu.grlc_2p5km_sr.t02z.grib2\n--------------------------------------------------------------------\n                        Header : GRIB2\n                    Discipline : 10 Oceanographic products\n                  GRIB Edition : 2\n                   GRIB length : 27840\n            Originating Center : 7 US National Weather Service - NCEP(WMC)\n        Originating Sub-Center : 0\nSignificance of Reference Time : 1 Start of forecast\n                Reference Time : 2018-02-14T02:00:00Z\n                Product Status : 0 Operational products\n                  Product Type : 1 Forecast products\n         Number of data points : 209741\n                     Grid Name : 30 Lambert_Conformal\n                    Grid Shape : 6 Earth spherical with radius of 6,371,229.0 m\n                            Nx : 581\n                            Ny : 361\n                           La1 : 41.53071\n                           Lo1 : 267.364\n  Resolution \u0026 Component flags : 0\n                         Winds : True\n                           LaD : 25.0\n                           LoV : 265.0\n                            Dx : 2539.703\n                            Dy : 2539.703\n                    Grid Units : m\n             Projection center : 0\n                 Scanning mode : 64\n                        Latin1 : 25.0\n                        Latin2 : 25.0\n                         SpLat : -90.0\n                         SpLon : 0.0\n            Product Definition : 0 Analysis/forecast at horizontal level/layer at a point in time\n            Parameter Category : 0 Waves\n                Parameter Name : 9 Mean_period_of_swell_waves\n               Parameter Units : s\n       Generating Process Type : 2 Forecast\n                  ForecastTime : 48\n            First Surface Type : 241 Ordered Sequence of Data\n           First Surface value : 2.0\n           Second Surface Type : 255 Missing\n          Second Surface value : 0.0\n--------------------------------------------------------------------\n                        Header : GRIB2\n                    Discipline : 10 Oceanographic products\n                  GRIB Edition : 2\n                   GRIB length : 44279\n            Originating Center : 7 US National Weather Service - NCEP(WMC)\n        Originating Sub-Center : 0\nSignificance of Reference Time : 1 Start of forecast\n                Reference Time : 2018-02-14T02:00:00Z\n                Product Status : 0 Operational products\n                  Product Type : 1 Forecast products\n         Number of data points : 209741\n                     Grid Name : 30 Lambert_Conformal\n                    Grid Shape : 6 Earth spherical with radius of 6,371,229.0 m\n                            Nx : 581\n                            Ny : 361\n                           La1 : 41.53071\n                           Lo1 : 267.364\n  Resolution \u0026 Component flags : 0\n                         Winds : True\n                           LaD : 25.0\n                           LoV : 265.0\n                            Dx : 2539.703\n                            Dy : 2539.703\n                    Grid Units : m\n             Projection center : 0\n                 Scanning mode : 64\n                        Latin1 : 25.0\n                        Latin2 : 25.0\n                         SpLat : -90.0\n                         SpLon : 0.0\n            Product Definition : 0 Analysis/forecast at horizontal level/layer at a point in time\n            Parameter Category : 0 Waves\n                Parameter Name : 4 Direction_of_wind_waves\n               Parameter Units : degrees\n       Generating Process Type : 2 Forecast\n                  ForecastTime : 48\n            First Surface Type : 1 Ground or water surface\n           First Surface value : 1.0\n           Second Surface Type : 255 Missing\n          Second Surface value : 0.0\n--------------------------------------------------------------------\n                        Header : GRIB2\n                    Discipline : 10 Oceanographic products\n                  GRIB Edition : 2\n                   GRIB length : 35903\n            Originating Center : 7 US National Weather Service - NCEP(WMC)\n        Originating Sub-Center : 0\nSignificance of Reference Time : 1 Start of forecast\n                Reference Time : 2018-02-14T02:00:00Z\n                Product Status : 0 Operational products\n                  Product Type : 1 Forecast products\n         Number of data points : 209741\n                     Grid Name : 30 Lambert_Conformal\n                    Grid Shape : 6 Earth spherical with radius of 6,371,229.0 m\n                            Nx : 581\n                            Ny : 361\n                           La1 : 41.53071\n                           Lo1 : 267.364\n  Resolution \u0026 Component flags : 0\n                         Winds : True\n                           LaD : 25.0\n                           LoV : 265.0\n                            Dx : 2539.703\n                            Dy : 2539.703\n                    Grid Units : m\n             Projection center : 0\n                 Scanning mode : 64\n                        Latin1 : 25.0\n                        Latin2 : 25.0\n                         SpLat : -90.0\n                         SpLon : 0.0\n            Product Definition : 0 Analysis/forecast at horizontal level/layer at a point in time\n            Parameter Category : 0 Waves\n                Parameter Name : 7 Direction_of_swell_waves\n               Parameter Units : degrees\n       Generating Process Type : 2 Forecast\n                  ForecastTime : 48\n            First Surface Type : 241 Ordered Sequence of Data\n           First Surface value : 1.0\n           Second Surface Type : 255 Missing\n          Second Surface value : 0.0\n--------------------------------------------------------------------\n                        Header : GRIB2\n                    Discipline : 10 Oceanographic products\n                  GRIB Edition : 2\n                   GRIB length : 28607\n            Originating Center : 7 US National Weather Service - NCEP(WMC)\n        Originating Sub-Center : 0\nSignificance of Reference Time : 1 Start of forecast\n                Reference Time : 2018-02-14T02:00:00Z\n                Product Status : 0 Operational products\n                  Product Type : 1 Forecast products\n         Number of data points : 209741\n                     Grid Name : 30 Lambert_Conformal\n                    Grid Shape : 6 Earth spherical with radius of 6,371,229.0 m\n                            Nx : 581\n                            Ny : 361\n                           La1 : 41.53071\n                           Lo1 : 267.364\n  Resolution \u0026 Component flags : 0\n                         Winds : True\n                           LaD : 25.0\n                           LoV : 265.0\n                            Dx : 2539.703\n                            Dy : 2539.703\n                    Grid Units : m\n             Projection center : 0\n                 Scanning mode : 64\n                        Latin1 : 25.0\n                        Latin2 : 25.0\n                         SpLat : -90.0\n                         SpLon : 0.0\n            Product Definition : 0 Analysis/forecast at horizontal level/layer at a point in time\n            Parameter Category : 0 Waves\n                Parameter Name : 7 Direction_of_swell_waves\n               Parameter Units : degrees\n       Generating Process Type : 2 Forecast\n                  ForecastTime : 48\n            First Surface Type : 241 Ordered Sequence of Data\n           First Surface value : 2.0\n           Second Surface Type : 255 Missing\n          Second Surface value : 0.0\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 03:51 min\n[INFO] Finished at: 2018-02-20T19:19:31Z\n[INFO] Final Memory: 18M/161M\n[INFO] ------------------------------------------------------------------------\n          \n```\n\n## References\n\n1. [Processing Grib Data](http://donpedro.lediouris.net/software/processing.grib/index.html)\n\n2. [Applications](http://st-martin-basic.blogspot.com.br/2012/01/applications-pour-lire-et-explorer-les.html)\n\n3. [zyGrib](http://www.zygrib.org/)\n\n4. [Grib 1 - Format](http://www.wmo.int/pages/prog/www/WMOCodes/Guides/GRIB/GRIB1-Contents.html)\n\n5. [Grib 2 - Format](https://www.wmo.int/pages/prog/www/WMOCodes/Guides/GRIB/GRIB2_062006.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertodias%2Fnoaa-parse-grib-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumbertodias%2Fnoaa-parse-grib-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertodias%2Fnoaa-parse-grib-files/lists"}