- 积分
- 352
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-9-27
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
ncl |
问题截图: |
- |
问题概况: |
ncl赋值变量经纬信息不识别,望指点迷津 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
1 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
begin
temper=asciiread("F:/Matlab/zidongzhan/2017080818.000", (/301,301/),"float")
temper!0="lon"
lon=fspan(116,119,301)
lon@long_name="longitude"
lon@units="degrees_east"
temper&lon=lon
printVarSummary(temper&lon)
temper!1="lat"
lat=fspan(38,41,301)
lat@long_name="latitude"
lat@units="degrees_north"
temper&lat=lat
printVarSummary(temper&lat)
wks=gsn_open_wks("png","F:/Matlab/zidongzhan/2017080818")
res =True
plot=gsn_csm_contour_map(wks,temper,res)
end
错误提示:
$ ncl F:/Matlab/zidongzhan/test.ncl
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Variable: lon (coordinate)
Type: float
Total Size: 1204 bytes
301 values
Number of Dimensions: 1
Dimensions and sizes: [lon | 301]
Coordinates:
Number Of Attributes: 2
long_name : longitude
units : degrees_east
Variable: lat (coordinate)
Type: float
Total Size: 1204 bytes
301 values
Number of Dimensions: 1
Dimensions and sizes: [lat | 301]
Coordinates:
Number Of Attributes: 2
long_name : latitude
units : degrees_north
(0) check_for_y_lat_coord: Warning: Data either does not contain
(0) a valid latitude coordinate array or doesn't contain one at all.
(0) A valid latitude coordinate array should have a 'units'
(0) attribute equal to one of the following values:
(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degr ees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'
(0) check_for_lon_coord: Warning: Data either does not contain
(0) a valid longitude coordinate array or doesn't contain one at all.
(0) A valid longitude coordinate array should have a 'units'
(0) 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'
|
|