.
I have downloaded "High Resolution Initial Conditions" climate forecast data for one day, it was in extension .tar.gz so I extracted it in my local directory and I get the files like in the attached image.
I think, that the files without extension are GRIB data (because first word in them is "GRIB"). So i want to get data from the big files (GRIB and NetCDF formats containing climate data like temerature & pressure in grid) to my database, but they are binary.
Can you recommend me some easy way for getting data from these files? I can't get any information about handling their datasets on their website.
Converting these files to .csv would be nice, but I can't find any working program to convert the GRIB files.
Best Answer
you can use wgrib2 to convert your data to csv.
beside this there is a python library which name is pygrib (python module for reading GRIB files). i think you can read your grib files and then convert them to csv file or anything with it.
Some Example code:
get the latitudes and longitudes of the grid:
i hope it helps you...