[ncl-talk] Plotting CALIPSO 532nm total backscatter coefficient

Srishti Dasarathy srdasara at ucsd.edu
Tue Sep 11 13:06:20 MDT 2018


Dear ncl talk,

I’m a beginner with NCL, and I would greatly appreciate your advice
regarding plotting the 532nm total backscatter coefficient from CALIPSO.
I’ve attached my script to this message, which I modified from the script
posted on http://www.ncl.ucar.edu/Applications/calipso.shtml under the
heading calipso_3.ncl.

So far, I have not yet been able to construct my plot. Theoretically, I
have all the values that I need: Lat/Lon, the total backscatter
coefficient, and the altitude value which I extracted from the metadata. I
have tried to troubleshoot my script, and examples of errors I received
included errors with dimension mismatch between altitude heights and total
backscatter coefficient. After I fixed that, it gave new errors complaining
about the matched dimensions, etc.

The first major error occurs at line 101:

TBC_532&hgt =  hgt ;

Here, TBC_532 is total backscatter coefficient and hgt is my altitude
height. Once NCL hits this line, it gives me the following error:

*fatal:Coordinate variables must be the same dimension as their dimension*
*fatal:No coordinate variable exists for dimension (hgt) in variable
(TBC_532)*

Afterwards, I changed the hgt dimensions to match the total backscatter
coefficient dimension size (2 dimensions, 4224 * 399), but that also didn't
work. I then collapsed both into a 1D array, but then it didn't allow me to
plot either, and gave me the error:

*Error: scalar_field: If the input data is 1-dimensional, you must set
sfXArray and sfYArray to 1-dimensional arrays of the same length.*
*warning:create: Bad HLU id passed to create, ignoring it*

If possible, could you give me some advice on how to move forward with my
script?

Thanks again,
Srishti

-- 
Srishti Dasarathy
Graduate Student
Scripps Institution of Oceanography
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180911/ff8621eb/attachment.html>
-------------- next part --------------
29.796
29.617
29.437
29.257
29.078
28.898
28.719
28.539
28.359
28.18
28
27.82
27.641
27.461
27.282
27.102
26.922
26.743
26.563
26.383
26.204
26.024
25.844
25.665
25.485
25.306
25.126
24.946
24.767
24.587
24.407
24.228
24.048
23.869
23.689
23.509
23.33
23.15
22.97
22.791
22.611
22.432
22.252
22.072
21.893
21.713
21.533
21.354
21.174
20.995
20.815
20.635
20.456
20.276
20.156
20.096
20.036
19.977
19.917
19.857
19.797
19.737
19.677
19.617
19.557
19.498
19.438
19.378
19.318
19.258
19.198
19.138
19.078
19.019
18.959
18.899
18.839
18.779
18.719
18.659
18.599
18.54
18.48
18.42
18.36
18.3
18.24
18.18
18.12
18.061
18.001
17.941
17.881
17.821
17.761
17.701
17.641
17.582
17.522
17.462
17.402
17.342
17.282
17.222
17.162
17.103
17.043
16.983
16.923
16.863
16.803
16.743
16.683
16.624
16.564
16.504
16.444
16.384
16.324
16.264
16.204
16.145
16.085
16.025
15.965
15.905
15.845
15.785
15.725
15.666
15.606
15.546
15.486
15.426
15.366
15.306
15.246
15.187
15.127
15.067
15.007
14.947
14.887
14.827
14.767
14.707
14.648
14.588
14.528
14.468
14.408
14.348
14.288
14.228
14.169
14.109
14.049
13.989
13.929
13.869
13.809
13.749
13.69
13.63
13.57
13.51
13.45
13.39
13.33
13.27
13.211
13.151
13.091
13.031
12.971
12.911
12.851
12.791
12.732
12.672
12.612
12.552
12.492
12.432
12.372
12.312
12.253
12.193
12.133
12.073
12.013
11.953
11.893
11.833
11.774
11.714
11.654
11.594
11.534
11.474
11.414
11.354
11.295
11.235
11.175
11.115
11.055
10.995
10.935
10.875
10.816
10.756
10.696
10.636
10.576
10.516
10.456
10.396
10.337
10.277
10.217
10.157
10.097
10.037
9.9773
9.9174
9.8575
9.7976
9.7378
9.6779
9.618
9.5581
9.4983
9.4384
9.3785
9.3186
9.2587
9.1989
9.139
9.0791
9.0192
8.9594
8.8995
8.8396
8.7797
8.7199
8.66
8.6001
8.5402
8.4804
8.4205
8.3606
8.3007
8.2408
8.181
8.1211
8.0612
8.0013
7.9415
7.8816
7.8217
7.7618
7.702
7.6421
7.5822
7.5223
7.4625
7.4026
7.3427
7.2828
7.2229
7.1631
7.1032
7.0433
6.9834
6.9236
6.8637
6.8038
6.7439
6.6841
6.6242
6.5643
6.5044
6.4446
6.3847
6.3248
6.2649
6.2051
6.1452
6.0853
6.0254
5.9655
5.9057
5.8458
5.7859
5.726
5.6662
5.6063
5.5464
5.4865
5.4267
5.3668
5.3069
5.247
5.1872
5.1273
5.0674
5.0075
4.9476
4.8878
4.8279
4.768
4.7081
4.6483
4.5884
4.5285
4.4686
4.4088
4.3489
4.289
4.2291
4.1693
4.1094
4.0495
3.9896
3.9298
3.8699
3.81
3.7501
3.6902
3.6304
3.5705
3.5106
3.4507
3.3909
3.331
3.2711
3.2112
3.1514
3.0915
3.0316
2.9717
2.9119
2.852
2.7921
2.7322
2.6723
2.6125
2.5526
2.4927
2.4328
2.373
2.3131
2.2532
2.1933
2.1335
2.0736
2.0137
1.9538
1.894
1.8341
1.7742
1.7143
1.6545
1.5946
1.5347
1.4748
1.4149
1.3551
1.2952
1.2353
1.1754
1.1156
1.0557
0.99581
0.93594
0.87606
0.81618
0.75631
0.69643
0.63655
0.57668
0.5168
0.45693
0.39705
0.33717
0.2773
0.21742
0.15754
0.097667
0.037791
-0.022085
-0.081961
-0.14184
-0.20171
-0.26159
-0.32147
-0.38134
-0.44122
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CALIPSO_Backscatter_Test_NCL_Listserv.ncl
Type: application/octet-stream
Size: 7893 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180911/ff8621eb/attachment.obj>


More information about the ncl-talk mailing list