如何解决将 GLC2000 数据转换为 netcdf 文件
我需要一个名为 glc2000 的数值模型土地利用数据:https://forobs.jrc.ec.europa.eu/products/glc2000/products.php
它们在网格和二进制文件中可用。现在我认为最简单的方法是使用网格数据(ESRI)。 实际上我不明白如何将数据转换为 netcdf。有一个可用的工具: https://gdal.org/programs/gdal_translate.html
我现在尝试了一些,但没有得到想要的结果。我需要一个名为: land_cover_glc_westafrica_w30e30n0n40_1x1km.nc
示例文件看起来像(ncdump-output):
{
dimensions:
lon = 6720 ;
nv = 2 ;
lat = 4480 ;
glc_names = 23 ;
len_glc_names = 54 ;
variables:
double lon(lon) ;
lon:standard_name = "longitude" ;
lon:units = "degrees_east" ;
lon:long_name = "longitude" ;
lon:west_bound = -30 ;
lon:east_bound = 30 ;
lon:bounds = "lon_bounds" ;
double lon_bounds(lon,nv) ;
lon_bounds:standard_name = "longitude" ;
lon_bounds:units = "degrees_east" ;
lon_bounds:long_name = "longitude" ;
lon_bounds:west_bound = -30 ;
lon_bounds:east_bound = 30 ;
double lat(lat) ;
lat:standard_name = "latitude" ;
lat:units = "degrees_north" ;
lat:long_name = "latitude" ;
lat:south_bound = 0 ;
lat:north_bound = 40 ;
lat:bounds = "lat_bounds" ;
double lat_bounds(lat,nv) ;
lat_bounds:standard_name = "latitude" ;
lat_bounds:units = "degrees_north" ;
lat_bounds:long_name = "latitude" ;
lat_bounds:south_bound = 0 ;
lat_bounds:north_bound = 40 ;
byte glc(lat,lon) ;
glc:long_name = "Land cover description" ;
char glc_names(glc_names,len_glc_names) ;
glc_names:long_name = "glc_names" ;
// global attributes:
:source = "Derived from JRC,http://bioval.jrc.ec.europa.eu/products/glc2000/products.php" ;
:title = "Westafrica land cover on 1x1 km" ;
:institution = "TNO,Utrecht,The Netherlands" ;
:Conventions = "CF-1.5" ;
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。