<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Dear colleges</p>
<p>hello</p>
<p>i ran the script but i dont know why the error are occured, please help me.</p>
<p><br>
</p>
<p><br>
</p>
<p></p>
<div>cript started on lun 10 sep 2018 10:58:22 CEST<br>
]0;root@ephyslab: /home/elhamroot@ephyslab:/home/elham# ncl <br>
Copyright (C) 1995-2013 - All Rights Reserved <br>
University Corporation for Atmospheric Research <br>
NCAR Command Language Version 6.1.2 <br>
The use of this software is governed by a License Agreement. <br>
See http://www.ncl.ucar.edu/ for more details. <br>
ncl 0> direos = "/home/elham/Desktop/" <br>
ncl 1> eos_file= "2011040011644_25451_CS_2B-GEOPROF_GRANULE_P1_R05_E03_F00.hdf" <br>
ncl 2> ptheos = direos+ eos_file <br>
ncl 3> f = addfile( ptheos+".he2", "r") ; treat as HDF-EOS2 file <br>
ncl 4> print(f) <br>
<br>
Variable: f <br>
Type: file <br>
filename: 2011040011644_25451_CS_2B-GEOPROF_GRANULE_P1_R05_E03_F00.hdf <br>
path: /home/elham/Desktop/2011040011644_25451_CS_2B-GEOPROF_GRANULE_P1_R05_E03
<br>
_F00.hdf <br>
file global attributes: <br>
sem_MDSignal_missop_2B_GEOPROF : == <br>
sem_MDSignal_missing_2B_GEOPROF : 9999 <br>
sem_MDSignal_valid_range_2B_GEOPROF : ( -35, -20 ) <br>
sem_MDSignal_units_2B_GEOPROF : dBZe <br>
sem_MDSignal_long_name_2B_GEOPROF : minimum detectable signal <br>
sem_MDSignal_offset_2B_GEOPROF : 0 <br>
sem_MDSignal_factor_2B_GEOPROF : 1 <br>
Clutter_reduction_flag_long_name_2B_GEOPROF : Clutter_reduction_flag <br>
Clutter_reduction_flag_offset_2B_GEOPROF : 0 <br>
Clutter_reduction_flag_factor_2B_GEOPROF : 1 <br>
Navigation_land_sea_flag_valid_range_2B_GEOPROF : ( 1, 4 ) <br>
Navigation_land_sea_flag_units_2B_GEOPROF : -- <br>
Navigation_land_sea_flag_long_name_2B_GEOPROF : Land Sea Flag <br>
Navigation_land_sea_flag_offset_2B_GEOPROF : 0 <br>
Navigation_land_sea_flag_factor_2B_GEOPROF : 1 <br>
sem_NoiseGate_missop_2B_GEOPROF : == <br>
[7m--More--[27m sem_NoiseGate_missing_2B_GEOPROF : 0 <br>
sem_NoiseGate_long_name_2B_GEOPROF : Noise Floor and Noise Variance estima <br>
te based on window of a fixed size centered at this range bin. <br>
sem_NoiseGate_offset_2B_GEOPROF : 0 <br>
sem_NoiseGate_factor_2B_GEOPROF : 1 <br>
sem_NoiseFloorVar_missop_2B_GEOPROF : == <br>
sem_NoiseFloorVar_missing_2B_GEOPROF : 0 <br>
sem_NoiseFloorVar_long_name_2B_GEOPROF : Noise Variance in measured return <br>
(i.e. Echo) power <br>
sem_NoiseFloorVar_offset_2B_GEOPROF : 0 <br>
sem_NoiseFloorVar_factor_2B_GEOPROF : 1 <br>
[7m--More--[27m sem_NoiseFloor_missop_2B_GEOPROF : == <br>
sem_NoiseFloor_missing_2B_GEOPROF : 0 <br>
sem_NoiseFloor_long_name_2B_GEOPROF : Noise Floor calculated in Cloud_Mask <br>
ing Routine <br>
sem_NoiseFloor_offset_2B_GEOPROF : 0 <br>
sem_NoiseFloor_factor_2B_GEOPROF : 1 <br>
CPR_Echo_Top_missop_2B_GEOPROF : == <br>
CPR_Echo_Top_missing_2B_GEOPROF : -9 <br>
CPR_Echo_Top_valid_range_2B_GEOPROF : ( 0, 5 ) <br>
CPR_Echo_Top_long_name_2B_GEOPROF : CPR Echo Top Characterizations <br>
CPR_Echo_Top_offset_2B_GEOPROF : 0 <br>
CPR_Echo_Top_factor_2B_GEOPROF : 1 <br>
MODIS_scene_var_missop_2B_GEOPROF : == <br>
MODIS_scene_var_missing_2B_GEOPROF : -9 <br>
MODIS_scene_var_valid_range_2B_GEOPROF : ( 0, 5 ) <br>
MODIS_scene_var_long_name_2B_GEOPROF : MODIS scene variability <br>
MODIS_scene_var_offset_2B_GEOPROF : 0 <br>
MODIS_scene_var_factor_2B_GEOPROF : 1 <br>
MODIS_scene_char_missop_2B_GEOPROF : == <br>
MODIS_scene_char_missing_2B_GEOPROF : -9 <br>
MODIS_scene_char_valid_range_2B_GEOPROF : ( 0, 9 ) <br>
MODIS_scene_char_long_name_2B_GEOPROF : MODIS scene characterizations <br>
MODIS_scene_char_offset_2B_GEOPROF : 0 <br>
[7m--More--[27m [K53 MODIS_scene_char_factor_2B_GEOPROF : 1 <br>
MODIS_Cloud_Fraction_missop_2B_GEOPROF : == <br>
MODIS_Cloud_Fraction_missing_2B_GEOPROF : -99 <br>
MODIS_Cloud_Fraction_valid_range_2B_GEOPROF : ( 0, 100 ) <br>
MODIS_Cloud_Fraction_long_name_2B_GEOPROF : MODIS 250m Cloud Fraction <br>
MODIS_Cloud_Fraction_offset_2B_GEOPROF : 0 <br>
MODIS_Cloud_Fraction_factor_2B_GEOPROF : 1 <br>
MODIS_cloud_flag_missop_2B_GEOPROF : == <br>
MODIS_cloud_flag_missing_2B_GEOPROF : 99 <br>
MODIS_cloud_flag_valid_range_2B_GEOPROF : ( 0, 3 ) <br>
MODIS_cloud_flag_units_2B_GEOPROF : None <br>
MODIS_cloud_flag_long_name_2B_GEOPROF : MOD35_bit_2and3_cloud_flag <br>
MODIS_cloud_flag_offset_2B_GEOPROF : 0 <br>
MODIS_cloud_flag_factor_2B_GEOPROF : 1 <br>
Sigma_Zero_missop_2B_GEOPROF : == <br>
Sigma_Zero_missing_2B_GEOPROF : -9999 <br>
Sigma_Zero_valid_range_2B_GEOPROF : ( -1000, 4000 ) <br>
Sigma_Zero_units_2B_GEOPROF : dB*100 <br>
Sigma_Zero_long_name_2B_GEOPROF : Sigma-Zero <br>
Sigma_Zero_offset_2B_GEOPROF : 0 <br>
Sigma_Zero_factor_2B_GEOPROF : 1 <br>
Radar_Reflectivity_missop_2B_GEOPROF : == <br>
Radar_Reflectivity_missing_2B_GEOPROF : -8888 <br>
[7m--More--[27m [K <br>
...skipping one line <br>
Radar_Reflectivity_units_2B_GEOPROF : dBZe <br>
Radar_Reflectivity_long_name_2B_GEOPROF : Radar Reflectivity Factor <br>
Radar_Reflectivity_offset_2B_GEOPROF : 0 <br>
Radar_Reflectivity_factor_2B_GEOPROF : 100 <br>
Gaseous_Attenuation_missop_2B_GEOPROF : == <br>
Gaseous_Attenuation_missing_2B_GEOPROF : -9999 <br>
Gaseous_Attenuation_valid_range_2B_GEOPROF : ( 0, 1000 ) <br>
Gaseous_Attenuation_units_2B_GEOPROF : dBZe <br>
Gaseous_Attenuation_long_name_2B_GEOPROF : Gaseous_Attenuation <br>
Gaseous_Attenuation_offset_2B_GEOPROF : 0 <br>
Gaseous_Attenuation_factor_2B_GEOPROF : 100 <br>
CPR_Cloud_mask_missop_2B_GEOPROF : == <br>
CPR_Cloud_mask_missing_2B_GEOPROF : -9 <br>
CPR_Cloud_mask_valid_range_2B_GEOPROF : ( 0, 40 ) <br>
CPR_Cloud_mask_long_name_2B_GEOPROF : CPR Cloud Mask <br>
CPR_Cloud_mask_offset_2B_GEOPROF : 0 <br>
CPR_Cloud_mask_factor_2B_GEOPROF : 1 <br>
SurfaceHeightBin_fraction_missing_2B_GEOPROF : 0 <br>
SurfaceHeightBin_fraction_units_2B_GEOPROF : none <br>
SurfaceHeightBin_fraction_long_name_2B_GEOPROF : SurfaceHeightBin_fraction <br>
SurfaceHeightBin_fraction_offset_2B_GEOPROF : 0 <br>
SurfaceHeightBin_fraction_factor_2B_GEOPROF : 1 <br>
SurfaceHeightBin_missop_2B_GEOPROF : == <br>
[7m--More--[27m [K <br>
...skipping 23 lines <br>
Data_quality_offset_2B_GEOPROF : 0 <br>
Data_quality_factor_2B_GEOPROF : 1 <br>
Roll_offset_valid_range_2B_GEOPROF : ( -90, 90 ) <br>
Roll_offset_units_2B_GEOPROF : degrees <br>
Roll_offset_long_name_2B_GEOPROF : Nominal satellite roll angle offset fro <br>
m nadir <br>
Roll_offset_offset_2B_GEOPROF : 0 <br>
Roll_offset_factor_2B_GEOPROF : 1 <br>
Pitch_offset_valid_range_2B_GEOPROF : ( -90, 90 ) <br>
Pitch_offset_units_2B_GEOPROF : degrees <br>
Pitch_offset_long_name_2B_GEOPROF : Nominal satellite pitch angle offset f <br>
rom nadir <br>
Pitch_offset_offset_2B_GEOPROF : 0 <br>
Pitch_offset_factor_2B_GEOPROF : 1 <br>
Vertical_binsize_missop_2B_GEOPROF : == <br>
Vertical_binsize_missing_2B_GEOPROF : -9999 <br>
Vertical_binsize_units_2B_GEOPROF : m <br>
Vertical_binsize_offset_2B_GEOPROF : 0 <br>
Vertical_binsize_factor_2B_GEOPROF : 1 <br>
DEM_elevation_missop_2B_GEOPROF : == <br>
DEM_elevation_missing_2B_GEOPROF : 9999 <br>
DEM_elevation_valid_range_2B_GEOPROF : ( -9999, 8850 ) <br>
DEM_elevation_units_2B_GEOPROF : meters <br>
[7m--More--[27m DEM_elevation_long_name_2B_GEOPROF : Digital Elevation Map
<br>
DEM_elevation_offset_2B_GEOPROF : 0 <br>
DEM_elevation_factor_2B_GEOPROF : 1 <br>
Range_to_intercept_valid_range_2B_GEOPROF : ( 600, 800 ) <br>
Range_to_intercept_units_2B_GEOPROF : km <br>
Range_to_intercept_long_name_2B_GEOPROF : Range from the spacecraft to the <br>
CPR boresight intercept with the geoid <br>
Range_to_intercept_offset_2B_GEOPROF : 0 <br>
Range_to_intercept_factor_2B_GEOPROF : 1 <br>
Height_missop_2B_GEOPROF : == <br>
Height_missing_2B_GEOPROF : -9999 <br>
[7m--More--[27m [K <br>
...skipping 23 lines <br>
UTC_start_offset_2B_GEOPROF : 0 <br>
UTC_start_factor_2B_GEOPROF : 1 <br>
Profile_time_valid_range_2B_GEOPROF : ( 0, 6000 ) <br>
Profile_time_units_2B_GEOPROF : seconds <br>
Profile_time_long_name_2B_GEOPROF : Seconds since the start of the granule <br>
. <br>
Profile_time_offset_2B_GEOPROF : 0 <br>
Profile_time_factor_2B_GEOPROF : 1 <br>
end_time_2B_GEOPROF : 20110209025537 <br>
start_time_2B_GEOPROF : 20110209011644 <br>
product_version_2B_GEOPROF : P1_R0 <br>
algorithm_version_2B_GEOPROF : P1_R05. <br>
algorithm_name_2B_GEOPROF : 2B-GEOPROF <br>
ID_CREATED_2B_GEOPROF : Wed Jan 24 21:49:27 2018 <br>
ID_MACHINE_2B_GEOPROF : CSATLAS1 <br>
ID_CENTER_URL_2B_GEOPROF : http://cloudsat.cira.colostate.edu <br>
ID_CENTER_2B_GEOPROF : CloudSat Data Processing Center <br>
ID_SITE_2B_GEOPROF : Cooperative Institute for Research in the Atmosphere <br>
granule_number_2B_GEOPROF : 25451 <br>
dimensions: <br>
nray_2B_GEOPROF = 37082 <br>
scalar_2B_GEOPROF = 1 <br>
nbin_2B_GEOPROF = 125 <br>
[7m--More--[27m variables: <br>
[7m--More--[27m float sem_MDSignal_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
[7m--More--[27m hdfeos_name : sem_MDSignal <br>
_FillValue : 9999 <br>
<br>
byte Clutter_reduction_flag_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Clutter_reduction_flag <br>
<br>
byte Navigation_land_sea_flag_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Navigation_land_sea_flag <br>
unsigned : True <br>
<br>
byte sem_NoiseGate_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : sem_NoiseGate <br>
_FillValue : 0 <br>
<br>
float sem_NoiseFloorVar_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : sem_NoiseFloorVar <br>
_FillValue : 0 <br>
<br>
float sem_NoiseFloor_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : sem_NoiseFloor <br>
_FillValue : 0 <br>
<br>
byte CPR_Echo_Top_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
[7m--More--[27m hdfeos_name : CPR_Echo_Top <br>
_FillValue : -9 <br>
<br>
byte MODIS_scene_var_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : MODIS_scene_var <br>
_FillValue : -9 <br>
<br>
byte MODIS_scene_char_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : MODIS_scene_char <br>
_FillValue : -9 <br>
<br>
byte MODIS_Cloud_Fraction_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : MODIS_Cloud_Fraction <br>
_FillValue : -99 <br>
<br>
byte MODIS_cloud_flag_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : MODIS_cloud_flag <br>
_FillValue : 99 <br>
<br>
short Sigma_Zero_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Sigma-Zero <br>
_FillValue : -9999 <br>
<br>
[7m--More--[27m short Radar_Reflectivity_2B_GEOPROF ( nray_2B_GEOPROF, nbin_2B_GEOPROF )
<br>
hdfeos_name : Radar_Reflectivity <br>
_FillValue : -8192 <br>
<br>
short Gaseous_Attenuation_2B_GEOPROF ( nray_2B_GEOPROF, nbin_2B_GEOPROF ) <br>
hdfeos_name : Gaseous_Attenuation <br>
_FillValue : 15360 <br>
<br>
byte CPR_Cloud_mask_2B_GEOPROF ( nray_2B_GEOPROF, nbin_2B_GEOPROF ) <br>
hdfeos_name : CPR_Cloud_mask <br>
_FillValue : -9 <br>
<br>
float SurfaceHeightBin_fraction_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : SurfaceHeightBin_fraction <br>
_FillValue : 0 <br>
<br>
byte SurfaceHeightBin_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : SurfaceHeightBin <br>
<br>
byte RayStatus_validity_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : RayStatus_validity <br>
unsigned : True <br>
<br>
[7m--More--[27m [K270 byte Data_targetID_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Data_targetID <br>
unsigned : True <br>
<br>
short Data_status_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Data_status <br>
unsigned : True <br>
<br>
byte Data_quality_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Data_quality <br>
unsigned : True <br>
<br>
float Roll_offset_2B_GEOPROF ( scalar_2B_GEOPROF ) <br>
hdfeos_name : Roll_offset <br>
<br>
float Pitch_offset_2B_GEOPROF ( scalar_2B_GEOPROF ) <br>
hdfeos_name : Pitch_offset <br>
<br>
float Vertical_binsize_2B_GEOPROF ( scalar_2B_GEOPROF ) <br>
hdfeos_name : Vertical_binsize <br>
<br>
short DEM_elevation_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : DEM_elevation <br>
[7m--More--[27m _FillValue : 9999 <br>
<br>
float Range_to_intercept_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Range_to_intercept <br>
<br>
short Height_2B_GEOPROF ( nray_2B_GEOPROF, nbin_2B_GEOPROF ) <br>
hdfeos_name : Height <br>
_FillValue : -9999 <br>
<br>
float Longitude_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
long_name : longitude <br>
units : degrees_east <br>
hdfeos_name : Longitude <br>
<br>
float Latitude_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
long_name : latitude <br>
units : degrees_north <br>
hdfeos_name : Latitude <br>
<br>
double TAI_start_2B_GEOPROF ( scalar_2B_GEOPROF ) <br>
hdfeos_name : TAI_start <br>
<br>
float UTC_start_2B_GEOPROF ( scalar_2B_GEOPROF ) <br>
[7m--More--[27m [K <br>
...skipping one line <br>
<br>
float Profile_time_2B_GEOPROF ( nray_2B_GEOPROF ) <br>
hdfeos_name : Profile_time <br>
<br>
ncl 5> _file->Latitude_2B_GEOPROF <br>
fatal:syntax error: line 5 before or near \n <br>
_file->Latitude_2B_GEOPROF <br>
--------------------------^ <br>
<br>
fatal:syntax error: possibly an undefined procedure <br>
ncl 6> <br>
ncl 7> lon = eos_file->Longitude_2B_GEOPROF <br>
fatal:(eos_file) not reference to a valid file <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 7 <br>
<br>
ncl 8> <br>
ncl 9> lev = eos_file->Height_2B_GEOPROF <br>
fatal:(eos_file) not reference to a valid file <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 9 <br>
<br>
ncl 10> <br>
ncl 11> ; The following name is too long for axis. <br>
ncl 12> ; lev@long_name = eos_file@Height_long_name_2B_GEOPROF <br>
ncl 13> ; The name also has the reserved '~' character. Escape the '~' character. <br>
ncl 14> ; lev@long_name=str_sub_str(lev@long_name, "~", "~~") <br>
ncl 15> lev@long_name = "Height" <br>
fatal:Variable (lev) is undefined, can not assign attribute (long_name) <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 15 <br>
<br>
ncl 16> lev@units = eos_file@Height_units_2B_GEOPROF <br>
warning:Attempt to reference attribute (Height_units_2B_GEOPROF) which is undefined
<br>
fatal:Variable (lev) is undefined, can not assign attribute (units) <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 16 <br>
<br>
ncl 17> <br>
ncl 18> time = eos_file->Profile_time_2B_GEOPROF <br>
fatal:(eos_file) not reference to a valid file <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 18 <br>
<br>
ncl 19> <br>
ncl 20> time@long_name = eos_file@Profile_time_long_name_2B_GEOPROF <br>
warning:Attempt to reference attribute (Profile_time_long_name_2B_GEOPROF) which is undefined
<br>
fatal:Variable (time) is undefined, can not assign attribute (long_name) <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 20 <br>
<br>
ncl 21> time@units = eos_file@Profile_time_units_2B_GEOPROF <br>
warning:Attempt to reference attribute (Profile_time_units_2B_GEOPROF) which is undefined
<br>
fatal:Variable (time) is undefined, can not assign attribute (units) <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 21 <br>
<br>
ncl 22> <br>
ncl 23> hdf4_file=addfile(file_name,"r") <br>
fatal:Variable (file_name) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 23 <br>
<br>
ncl 24> print(hdf4_file) <br>
fatal:Variable (hdf4_file) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 24 <br>
<br>
ncl 25> data_hdf4 = hdf4_file->Radar_Reflectivity <br>
fatal:Undefined identifier: (hdf4_file) is undefined, can't continue <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 25 <br>
<br>
ncl 26> <br>
ncl 27> ; Process valid_range. Fill value and missing value will be handled by this <br>
ncl 28> ; since they are outside of range values. <br>
ncl 29> data = where(data_raw.gt.data_hdf4@valid_range(0) .and. data_raw.lt.data_hdf4@valid_range(1), data_raw, data_hdf4@_FillValue) <br>
fatal:Variable (data_raw) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 29 <br>
<br>
ncl 30> <br>
ncl 31> ; Apply factor according to the data spec [1]. <br>
ncl 32> data@_FillValue = data_hdf4@_FillValue <br>
fatal:Variable (data_hdf4) is still undefined, unable to reference attribute _FillValue
<br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 32 <br>
<br>
ncl 33> dataf = tofloat(data) <br>
fatal:Variable (data) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 33 <br>
<br>
ncl 34> dataf = dataf / data_hdf4@factor <br>
fatal:Variable (dataf) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 34 <br>
<br>
ncl 35> <br>
ncl 36> dataf!0 = data_raw!0 <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 36 <br>
<br>
ncl 37> dataf!1 = data_raw!1 <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 37 <br>
<br>
ncl 38> <br>
ncl 39> ; Although 2D height values are all slightly different at each profile <br>
ncl 40> ; time, the difference is not significant. Pick the first one only since <br>
ncl 41> ; NCL doesn't allow 2D array for axis variable. <br>
ncl 42> dataf&nbin_2B_GEOPROF = lev(0,:) <br>
fatal:Undefined identifier: (lev) is undefined, can't continue <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 42 <br>
<br>
ncl 43> dataf&nray_2B_GEOPROF = time <br>
fatal:Variable (time) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 43 <br>
<br>
ncl 44> <br>
ncl 45> xwks = gsn_open_wks("pdf", file_name + ".ncl") ; open workstation <br>
fatal:Undefined identifier: (gsn_open_wks) is undefined, can't continue <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 45 <br>
<br>
ncl 46> <br>
ncl 47> gsn_define_colormap(xwks,"BlAqGrYeOrReVi200") ; define colormap <br>
fatal:syntax error: line 47 before or near ; define colormap <br>
<br>
gsn_define_colormap(xwks,"BlAqGrYeOrReVi200") ; define colormap <br>
^ <br>
<br>
fatal:syntax error: possibly an undefined procedure <br>
ncl 48> <br>
ncl 49> res = True ; plot mods desired <br>
ncl 50> res@cnFillOn = True ; enable contour fill <br>
ncl 51> res@gsnMaximize = True ; make plot large <br>
ncl 52> res@gsnPaperOrientation = "portrait" ; force portrait orientation <br>
ncl 53> res@cnLinesOn = False ; turn off contour lines <br>
ncl 54> res@cnLineLabelsOn = False ; turn off contour line labels <br>
ncl 55> res@gsnSpreadColors = True ; use the entire color spectrum <br>
ncl 56> res@cnFillMode = "RasterFill" ; faster <br>
ncl 57> res@lbOrientation = "vertical" ; vertical labels <br>
ncl 58> res@cnMissingValFillPattern = 0 ; missing value pattern is set to "SolidFill" <br>
ncl 59> res@cnMissingValFillColor = 0 ; white color for missing values <br>
ncl 60> res@lbLabelAutoStride = True ; ensure no label overlap <br>
ncl 61> res@tiMainString = file_name <br>
fatal:Variable (file_name) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 61 <br>
<br>
ncl 62> res@tiXAxisString = time@long_name+" ("+time@units+")" <br>
fatal:Variable (time) is still undefined, unable to reference attribute long_name
<br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 62 <br>
<br>
ncl 63> res@tiYAxisString = lev@long_name+" ("+lev@units+")" <br>
fatal:Variable (lev) is still undefined, unable to reference attribute long_name <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 63 <br>
<br>
ncl 64> res@gsnLeftString=data_hdf4@long_name <br>
fatal:Variable (data_hdf4) is still undefined, unable to reference attribute long_name
<br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 64 <br>
<br>
ncl 65> res@gsnRightString=data_hdf4@units <br>
fatal:Variable (data_hdf4) is still undefined, unable to reference attribute units
<br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 65 <br>
<br>
ncl 66> <br>
ncl 67> plot=gsn_csm_contour(xwks, dataf(nbin_2B_GEOPROF|:,nray_2B_GEOPROF|:), res) <br>
fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 67 <br>
<br>
ncl 68> <br>
ncl 69> ; Create a trajectory plot. <br>
ncl 70> mpres = True; Plot options desired. <br>
ncl 71> mpres@tiMainString = "Trajectory of Satellite Path ('+':starting point)" <br>
ncl 72> mpres@gsnFrame = False ; Don't advance the frame <br>
ncl 73> mpres@gsnMaximize= True <br>
ncl 74> mpres@mpLandFillColor= "Green"; color of land <br>
ncl 75> mpres@gsnPaperOrientation= "portrait"; force portrait <br>
ncl 76> plot = gsn_csm_map_ce(xwks,mpres) ; Draw map <br>
fatal:Undefined identifier: (gsn_csm_map_ce) is undefined, can't continue <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 76 <br>
<br>
ncl 77> <br>
ncl 78> pres = True ;polyline resources <br>
ncl 79> pres@gsLineThicknessF = 2.0 ;line thickness <br>
ncl 80> pres@gsLineColor = "blue" <br>
ncl 81> gsn_polyline(xwks,plot,lon,lat,pres) ; plot trajectory line <br>
fatal:syntax error: line 81 before or near ; plot trajectory line <br>
<br>
gsn_polyline(xwks,plot,lon,lat,pres) ; plot trajectory line <br>
^ <br>
<br>
fatal:syntax error: possibly an undefined procedure <br>
ncl 82> <br>
ncl 83> sres = True; poly marker resources <br>
ncl 84> sres@gsMarkerSizeF= 20.0; Marker size <br>
ncl 85> sres@gsMarkerThicknessF = 5.0 ; Marker thickness <br>
ncl 86> sres@gsMarkerColor= "red"; Marker color <br>
ncl 87> sres@gsMarkerIndex= 2 ; Marker style <br>
ncl 88> gsn_polymarker(xwks,plot,lon(0),lat(0),sres) ; plot trajectory start marker <br>
fatal:syntax error: line 88 before or near ; plot trajectory start marker <br>
<br>
gsn_polymarker(xwks,plot,lon(0),lat(0),sres) ; plot trajectory start marker <br>
^ <br>
<br>
fatal:syntax error: possibly an undefined procedure <br>
ncl 89> <br>
ncl 90> eres = True; poly marker resources <br>
ncl 91> eres@gsMarkerSizeF= 20.0; Marker size <br>
ncl 92> eres@gsMarkerThicknessF = 5.0 ; Marker thickness <br>
ncl 93> eres@gsMarkerColor= "black"; Marker color <br>
ncl 94> eres@gsMarkerIndex= 1 ; Marker style <br>
ncl 95> end_index = dimsizes(lon) - 1 <br>
fatal:Variable (lon) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 95 <br>
<br>
ncl 96> ; plot trajectory end marker <br>
ncl 97> gsn_polymarker(xwks,plot,lon(end_index),lat(end_index),eres) <br>
fatal:syntax error: line 97 before or near \n <br>
gsn_polymarker(xwks,plot,lon(end_index),lat(end_index),eres) <br>
---------------------------------------------------------------^ <br>
<br>
fatal:syntax error: possibly an undefined procedure <br>
ncl 98> <br>
ncl 99> frame(xwks) <br>
fatal:Variable (xwks) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 99 <br>
<br>
ncl 100> <br>
ncl 101> ; Clean up resources. <br>
ncl 102> delete(plot) <br>
fatal:Variable (plot) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 102 <br>
<br>
ncl 103> delete(eres) <br>
ncl 104> delete(sres) <br>
ncl 105> delete(pres) <br>
ncl 106> delete(mpres) <br>
ncl 107> delete(res) <br>
ncl 108> delete(xwks) <br>
fatal:Variable (xwks) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 108 <br>
<br>
ncl 109> delete(data) <br>
fatal:Variable (data) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 109 <br>
<br>
ncl 110> delete(lat) <br>
fatal:Variable (lat) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 110 <br>
<br>
ncl 111> delete(lon) <br>
fatal:Variable (lon) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 111 <br>
<br>
ncl 112> delete(hdf4_file) <br>
fatal:Variable (hdf4_file) is undefined <br>
fatal:["Execute.c":8126]:Execute: Error occurred at or near line 112 <br>
<br>
ncl 113> delete(eos_file) <br>
ncl 114> end <br>
fatal:syntax error: line 114 before or near end <br>
end <br>
--^ <br>
<br>
fatal:error in statement <br>
ncl 115> ; References <br>
ncl 116> <br>
[1]+ Stopped ncl <br>
]0;root@ephyslab: /home/elhamroot@ephyslab:/home/elham# end <br>
No command 'end' found, did you mean: <br>
Command 'ed' from package 'ed' (main) <br>
Command 'ent' from package 'ent' (universe) <br>
Command 'esd' from package 'pulseaudio-esound-compat' (main) <br>
Command 'nd' from package 'nd' (universe) <br>
Command 'bnd' from package 'bnd' (universe) <br>
Command 'snd' from package 'snd-gtk-jack' (universe) <br>
Command 'snd' from package 'snd-gtk-pulse' (universe) <br>
Command 'snd' from package 'snd-nox' (universe) <br>
Command 'eid' from package 'id-utils' (universe) <br>
Command 'send' from package 'mailutils-mh' (universe) <br>
Command 'send' from package 'nmh' (universe) <br>
Command 'env' from package 'coreutils' (main) <br>
Command 'and' from package 'and' (universe) <br>
end: command not found <br>
]0;ro</div>
<br>
<p></p>
<p><br>
</p>
</div>
</body>
</html>