[GRASS-user] import of netCDF file into GRASS 7.02
James Maas (MED)
J.Maas at uea.ac.uk
Tue Jan 26 09:16:50 PST 2016
I'm attempting to import a netCDF file (filename.nc) into grass. It is comprised of daily rainfall raster data over 730 days, for a 4 km x 4 km grid. I think the resolution is 1 km so about 16 points per day.
I've been digging around with gdalinfo and it says the following.
When I use r.in.gdal input=/home/jamaas/research/ra1188uea/Enigma/Rainfall_data/BC_GB_daily.nc output=BC_GB_daily
I get this error
ERROR: Projection of dataset does not appear to match current location.
when I use the -o option I get
Proceeding with import of 0 raster bands...
ERROR: Selected band (1) does not exist
I think I want all of the raster bands, i.e. for all 730 days. I must be doing something simple incorrectly.
Any suggestions most welcome.
Thanks
J
======================================
Driver: netCDF/Network Common Data Format
Files: BC_GB_daily.nc
BC_GB_daily.nc.aux.xml
Size is 4, 4
Coordinate System is:
PROJCS["unnamed",
GEOGCS["unknown",
DATUM["unknown",
SPHEROID["Spheroid",6377563.396,299.3249646]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",400],
PARAMETER["false_northing",-100],
UNIT["kilometre",1000,
AUTHORITY["EPSG","9036"]]]
Origin = (328.500000000000000,526.500000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
crs#_CoordinateAxisTypes=GeoX GeoY
crs#_CoordinateTransformType=Projection
crs#EPSG_code=EPSG:27700
crs#false_easting=400
crs#false_northing=-100
crs#grid_mapping_name=transverse_mercator
crs#inverse_flattening=299.3249646
crs#latitude_of_projection_origin=49
crs#long_name=coordinate_reference_system
crs#longitude_of_projection_origin=-2
crs#scale_factor_at_projection_origin=0.9996012717
crs#semi_major_axis=6377563.396
crs#semi_minor_axis=6356256.91
Dr. Jim Maas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160126/b2836e91/attachment.html>
More information about the grass-user
mailing list