grib

Grib2 to PostGIS raster — anyone get this to work?

↘锁芯ラ 提交于 2020-01-02 07:28:33
问题 I have an application for which I need to import U.S. National Weather Service surface analyses, which are distributed as grib2 files. I want to pull those into PostGIS 2.0 rasters, do some calculations and modeling, and display the data and model results in GeoServer. Since grib2 is a GDAL-supported format, the supplied raster2pgsql utility should be able to slurp a grib2 right into PostGIS-compatible SQL, and once it's there, GeoServer ought to be able to handle it. However, I'm running

Extract data from grib weather model

夙愿已清 提交于 2020-01-01 06:42:45
问题 I have downloaded grib1 model data from GFS, I am using a Mac OS X and was able to build the wgrib2 file from NOAA but was unable to extract the data. I have not found a grib1 utility for MAC. Then I run to this program http://www.giss.nasa.gov/tools/panoply/ that was able to read the file and can see the data but I have some issues with it. the values comes in other units (like K for temp and other different from mm in rainfall) I am able to export CSV but only the values not the coordinates

Reading GRiB2 files with Matlab [closed]

女生的网名这么多〃 提交于 2019-12-29 07:19:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Are there any toolboxes, which allow reading GRIB2 data into Matlab? An example (waves modeled by NOAA) could be GRIB2 available from ftp://polar.ncep.noaa.gov/pub/history/waves 回答1: In NCTOOLBOX for Matlab, you can open a GRIB2 file just like a local NetCDF file or a remote OPeNDAP dataset: % download data !

Converting NetCDF to GRIB2

点点圈 提交于 2019-12-21 11:33:34
问题 I know there is software like wgrib2 that will convert files in grib and grib2 format to NetCDF files, but I need to go the other way: from NetCDF to grib2 , because the local weather offices here can only consume gridded data in grib2 format. It appears that one solution could be in Python, using the NetCDF4-Python library (or other) to read the NetCDF files and using pygrib to write grib2 . Is there a better way? 回答1: After some more research, I ended up using the British Met Office "Iris"

Convert grib to netcdf file

爷,独闯天下 提交于 2019-12-10 21:27:50
问题 Is there a way to convert a grib file into a NetCDF format on Windows? I use a software named tkdegrib but it catches one argument by one argument whereas I want all my grib's arguments in the same file. Unfortunately, I can't use Linux. 回答1: I would use Unidata's NetCDF-Java library. It reads GRIB and GRIB2 files (as well as many others), and can write NetCDF files. And since it's Java, you don't have to build anything, and it works on all platforms. There is a ToolsUI application that you

Installing pygrib Package

纵然是瞬间 提交于 2019-12-05 23:05:28
问题 Apologies in advance for what is probably a bad/poorly phrased question, but I merely dabble in programming and am very unfamiliar with under the hood aspects of package installation, etc. Basically, I am trying to install the pygrib package (available here: https://github.com/jswhit/pygrib) via a cygwin terminal. I am running Python 2.7.3 32-bit on Windows 10. Originally I encountered the missing vcvarsall.bat error the first time I tried to run 'python seteup.py build' and followed the

Installing pygrib Package

a 夏天 提交于 2019-12-05 04:19:21
Apologies in advance for what is probably a bad/poorly phrased question, but I merely dabble in programming and am very unfamiliar with under the hood aspects of package installation, etc. Basically, I am trying to install the pygrib package (available here: https://github.com/jswhit/pygrib ) via a cygwin terminal. I am running Python 2.7.3 32-bit on Windows 10. Originally I encountered the missing vcvarsall.bat error the first time I tried to run 'python seteup.py build' and followed the advice here: error: Unable to find vcvarsall.bat After installing the MS Visual Studio package, I have

Converting NetCDF to GRIB2

◇◆丶佛笑我妖孽 提交于 2019-12-04 04:37:25
I know there is software like wgrib2 that will convert files in grib and grib2 format to NetCDF files, but I need to go the other way: from NetCDF to grib2 , because the local weather offices here can only consume gridded data in grib2 format. It appears that one solution could be in Python, using the NetCDF4-Python library (or other) to read the NetCDF files and using pygrib to write grib2 . Is there a better way? After some more research, I ended up using the British Met Office "Iris" package ( http://scitools.org.uk/iris/docs/latest/index.html ) which can read NetCDF as well as OPeNDAP,

Can R read grib file(when it is not raster) and convert it to ASCII file?

末鹿安然 提交于 2019-12-02 13:51:55
问题 I am trying to read this grib file but I got an error.is there a way we can solve this problem grib <- readGDAL("C:\\file.grib") Error in .local(.Object, ...) : grib is a grib file, but no raster dataset was successfully identified. 回答1: it is not an R problem. using gdal, I have this : gdalinfo --debug on H14_2011010400.grib GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Undefined parameter table (center 98-0 table 228)

Reading GRiB2 files with Matlab [closed]

倖福魔咒の 提交于 2019-11-29 08:49:56
Are there any toolboxes, which allow reading GRIB2 data into Matlab? An example (waves modeled by NOAA) could be GRIB2 available from ftp://polar.ncep.noaa.gov/pub/history/waves In NCTOOLBOX for Matlab , you can open a GRIB2 file just like a local NetCDF file or a remote OPeNDAP dataset: % download data ! wget ftp://polar.ncep.noaa.gov/pub/history/waves/multi_1.at_4m.dp.200607.grb2 % create ncgeodataset object nc=ncgeodataset('multi_1.at_4m.dp.200607.grb2'); % list variables nc.variables % create geovariable object dirvar=nc.geovariable('Primary_wave_direction_degree_true_surface'); % get data