[GRASS-user] issues with netCDF import

Moritz Lennert mlennert at club.worldonline.be
Fri Mar 21 07:47:50 PDT 2014


On 21/03/14 15:28, Damian Maddalena wrote:
> Hi Anna,
>
> Thank you for the reply.
>
> The output from running gdalinfo NETCDF:"global_30s_2009_153.nc
> <http://global_30s_2009_153.nc/>":lai is below. I do not see anything in
> the metadata that suggests a problem. Perhaps a more experienced eye can
> find the issue.
>
> Thanks!!
>
> -Damian
>
> Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute
> Driver: netCDF/Network Common Data Format
> Files: global_30s_2009_153.nc
> Size is 43200, 21600
> Coordinate System is `'
> Origin = (-180.000000000000000,90.000000000000000)
> Pixel Size = (0.008333333767951,-0.008333333767951)
> Metadata:
>    lai#long_name=leaf area index
>    lai#scale_factor=0.1
>    lai#units=m2/m2
>    lat#long_name=coordinate latitude
>    lat#units=degrees_north
>    lon#long_name=coordinate longitude
>    lon#units=degrees_east
>    NC_GLOBAL#citation=Yuan, H., Dai, Y., Xiao, Z., Ji, D., Shangguan,
> W., 2011. Reprocessing the MODIS Leaf Area Index Products for Land
> Surface and Climate Modelling. Remote Sensing of Environment, 115(5),
> 1171-1187. doi:10.1016/j.rse.2011.01.001
>    NC_GLOBAL#creation_date=2011/09/27
>    NC_GLOBAL#institution=Land-Atmosphere Interaction Research Group at
> Beijing Normal University (http://globalchange.bnu.edu.cn)
>    NC_GLOBAL#title=LAI data sets for land surface and climate modelling
>    NETCDF_DIM_EXTRA={time}
>    NETCDF_DIM_time_DEF={1,4}
>    NETCDF_DIM_time_VALUES=153
>    time#long_name=day of year 2009
>    time#units=day
> Corner Coordinates:
> Upper Left  (-180.0000000,  90.0000000)
> Lower Left  (-180.0000000, -90.0000094)
> Upper Right ( 180.0000188,  90.0000000)
> Lower Right ( 180.0000188, -90.0000094)
> Center      (   0.0000094,  -0.0000047)

Try running r.in.gdal with the -l flag to force fit within -180,180.

Moritz


More information about the grass-user mailing list