I have been looking for it for a while but couldn't find what exactly I need.
I have WRF outputs in NETCDF format and I want to convert them to Geotiffs with gdalwarp.
I think my -s_srs should be this one because I used lambert : http://spatialreference.org/ref/sr-org/29/ and my -t_srs should be this one since I want albers : http://spatialreference.org/ref/sr-org/6630/
By the way I want the QFX subdataset.
When I do this I receive an error:
gdalwarp NETCDF:wrfout_d01_2007-06-01:QFX -s_srs "+proj=lcc +lat_1=33 +lat_2=45 +lat_0=40 +lon_0=-97 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" -t_srs "+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs" -tr 12000 12000 -of GTIFF output.tiff
and the error is this:
Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for NETCDF:wrfout_d01_2007-06-01:QFX. There is no affine transformation and no GCPs.
So it requires some GCP but I do not know how to provide them. Also the latitude and longitude is in the NETCDF as subdatasets.