GDAL을 활용해서 netCDF를 GeoTiff 형태로 변환하기 위해서는 다음과 같은 과정이 필요합니다.
1. GDAL 빌드 체크
일단 GDAL을 소스코드를 통해 빌드하신 분들은 netCDF 라이브러리를 설치하고 GDAL을 빌드했는지 부터 체크하셔요.
gdalinfo 명령어로 netCDF 파일을 인자로 줬을 때 아래와 같이 에러가 나오면 GDAL 빌드시에 netCDF 라이브러리가 설치되어 있지 않았던 것이죠.
aaa@hhh:~# gdalinfo r50.nc
ERROR 4: `r50.nc' not recognised as a supported file format.
gdalinfo failed - unable to open 'r50.nc'.
저는 dpkg -l | grep netcdf로 확인해보니깐 다음과 같이 설치되어 있네요.
ii libnetcdf-dev 1:4.1.3-7ubuntu2 amd64 Development kit for NetCDF
ii libnetcdfc++4 1:4.1.3-7ubuntu2 amd64 Interface for scientific data access to large binary data
ii libnetcdfc7 1:4.1.3-7ubuntu2 amd64 Interface for scientific data access to large binary data
ii libnetcdff5 1:4.1.3-7ubuntu2 amd64 Interface for scientific data access to large binary data
ii netcdf-bin 1:4.1.3-7ubuntu2 amd64 Programs for reading and writing NetCDF files
ii python-netcdf 2.9.4-1 amd64 netCDF interface for Python
'리눅스 > 지오,서버' 카테고리의 다른 글
PostgreSQL install and setting(add user) in Ubuntu 12.04 (0) | 2014.10.11 |
---|---|
GDAL : gdal_grid example (0) | 2014.09.01 |
GDAL : gdalwarp (using mask) (1) | 2014.09.01 |
GDAL : netCDF to GeoTiff (0) | 2014.09.01 |
GDAL : esr -> geotiff .... using gdal_translate (0) | 2014.08.30 |
GDAL : 리눅스에서 GDAL 소스코드 빌드 (0) | 2014.05.19 |
GDAL : gdal 컴파일 설치 시 postgresql 연결 (0) | 2014.01.13 |
GDAL : gdal_translate (0) | 2012.02.29 |