CDO remapbil报错:不支持generic网格类型,求解决方法
CDO重映射报错:Unsupported target grid type (generic)
执行CDO双线性重映射命令时触发报错:
cdo remapbil,black_sea.mask.nc out.nc out_bs_mask.nc
remapbil (Abort): Unsupported target grid type (generic)!
推测CDO不支持generic类型网格,尝试用ncatted修改mask文件的属性(匹配目标lonlat网格的long_name、lat_name及units),但问题依旧。
相关数据信息
掩码数据(generic网格)
# gridID 1 # gridtype = generic gridsize = 22750 xsize = 182 ysize = 125 scanningMode = 64 netcdf black_sea.mask { dimensions: y = 125 ; x = 182 ; variables: double lon(y, x) ; lon:long_name = "easting of elevation points" ; lon:units = "degree" ; lon:coords = "east_e north_e" ; double mask(y, x) ; mask:long_name = "free surface mask" ; mask:units = "dimensionless" ; mask:coords = "east_e north_e" ; double lat(y, x) ; lat:long_name = "northing of elevation points" ; lat:units = "degree" ; lat:coords = "east_e north_e" ; }
ISIMIP输出数据(lonlat网格)
# gridID 1 # gridtype = lonlat gridsize = 64800 xsize = 360 ysize = 180 xname = lon xlongname = "Longitude" xunits = "degrees_east" yname = lat ylongname = "Latitude" yunits = "degrees_north" xfirst = -179.5 xinc = 1 yfirst = 89.5 yinc = -1 scanningMode = 64 netcdf out { dimensions: lat = 180 ; lon = 360 ; time = UNLIMITED ; // (2 currently) variables: double lat(lat) ; lat:standard_name = "latitude" ; lat:long_name = "Latitude" ; lat:units = "degrees_north" ; lat:axis = "Y" ; double lon(lon) ; lon:standard_name = "longitude" ; lon:long_name = "Longitude" ; lon:units = "degrees_east" ; lon:axis = "X" ; double time(time) ; time:standard_name = "time" ; time:long_name = "Time axis" ; time:units = "months since 1601-1-1 00:00:00" ; time:calendar = "gregorian" ; time:axis = "T" ; float zmeso-vint(time, lat, lon) ; zmeso-vint:_FillValue = 1.e+20f ; zmeso-vint:missing_value = 1.e+20f ; zmeso-vint:standard_name = "mole_content_of_mesozooplankton_expressed_as_carbon_in_sea_water" ; zmeso-vint:long_name = "Mole Content of Mesozooplankton expressed as Carbon in sea water" ; zmeso-vint:units = "mol m-2" ; zmeso-vint:comment = "vertically integrated over all ocean levels by ISIMIP data management team" ; }
已尝试修改mask文件的属性匹配目标网格,但报错未解决,求可行的解决建议。
内容的提问来源于stack exchange,提问作者rocinantes
相关产品推荐
相关产品推荐

