- 积分
- 1901
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-1-6
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 xuebiz 于 2016-6-7 16:42 编辑
数据文件问nc格式,其中经纬度定义如下:
lat = 361 ;
lon = 723 ;
float lat(lat) ;
lat:units = "degrees_north" ;
float lon(lon) ;
lon:units = "degrees_east" ;
lat = -89.75, -89.25, -88.75, -88.25, -87.75, -87.25, -86.75, -86.25,
......
87.25, 87.75, 88.25, 88.75, 89.25, 89.75, 90.25 ;
lon = 0.25, 0.75, 1.25, 1.75, 2.25, 2.75, 3.25, 3.75, 4.25, 4.75, 5.25,
......
357.75, 358.25, 358.75, 359.25, 359.75, 360.25, 360.75, 361.25 ;
NCL画图的时候,总是提示:
(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.
(0) A valid latitude coordinate array should have a 'units' attribute equal to one of the following values:
(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'
(0) check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.
(0) A valid longitude coordinate array should have a 'units' attribute equal to one of the following values:
(0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'
我把经纬度最后4个值切掉了也不行,画出来的图经纬度有偏差,WHY?
lon = fc->lon(0:718)
lat = fc->lat(0:356)
|
-
错位图WHY
|