登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
数据描述: float UGRD_P0_L100_GLL0 ( lv_ISBL0, lat_0, lon_0 ) center : US National Weather Service - NCEP (WMC) production_status : Operational products long_name : U-component of wind units : m s-1 _FillValue : 1e+20 grid_type : Latitude/longitude parameter_discipline_and_category : Meteorological products, Momentum parameter_template_discipline_category_number : ( 0, 0, 2, 2 ) level_type : Isobaric surface (Pa) forecast_time : 0 forecast_time_units : hours initial_time : 04/11/2011 (00:00) 代码: load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" begin ;read data from four files diri = "/home/liuzhe/fnl_data/" fils = systemfunc("ls "+diri +"fnl_20110411*.grib2") f = addfiles(fils ,"r") ListSetType(f ,"join") ; u is U-component of wind u = f[:]->UGRD_P0_L100_GLL0 ;v is V-component of wind v = f[:]->VGRD_P0_L100_GLL0 ;r is rain r = f[:]->PWAT_P0_L200_GLL0 ; u is four demenion array, 1st is the number of the file in files , 2st is pa ,3st is lat ,4st is lo u!1 = "lv" u&1 = f[0]->UGRD_P0_L100_GLL0&lv_ISBL0 end 错误: liuzhe@nmicnwp:~> ncl rainWind-820.ncl Copyright (C) 1995-2013 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.1.2 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. fatal:syntax error: line 18 in file rainWind-820.ncl before or near & u& --^ fatal:error in statement fatal:Syntax Error in block, block not executed fatal:error at line 19 in file rainWind-820.ncl
|