Re: Calipso Data - how can I get the height?

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 02 2011 - 08:44:36 MDT

If you have "hdp" (a tool from HDF(4)), you may use:

hdp dumpvd -i 0 -d -f Lidar_Data_Altitudes CAL_LID_L1-ValStage1-V3-01.2011-05-01T05-00-22ZN.hdf

to find the Lidar_Data_Altitudes.

But you have to go through "hdp" options, to figure out all the above options.
(You can certainly try the same command for similar data.)

Attached is the out put from the command above.

Wei Huang
huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924
------------
39.795670 39.496288 39.196907 38.897522 38.598141 38.298759 37.999378 37.699997 37.400616 37.101234 36.801853 36.502472 36.203091 35.903709 35.604324 35.304943 35.005562 34.706181 34.406799 34.107418 33.808037 33.508656 33.209274 32.909893 32.610512 32.311127 32.011745 31.712366 31.412983 31.113602 30.814220 30.514839 30.215458 29.975952 29.796324 29.616693 29.437065 29.257437 29.077806 28.898178 28.718550 28.538919 28.359291 28.179663 28.000032 27.820404 27.640776 27.461147 27.281517 27.101889 26.922260 26.742630 26.563002 26.383373 26.203743 26.024115 25.844486 25.664856 25.485228 25.305599 25.125969 24.946341 24.766712 24.587084 24.407454 24.227825 24.048197 23.868567 23.688938 23.509310 23.329679 23.150051 22.970423 22.790792 22.611164 22.431536 22.251907 22.072277 21.892649 21.713020 21.533390 21.353762 21.174133 20.994503 20.814875 20.635246 20.455616 20.275988 20.156235 20.096359 20.036482 19.976606 19.916729 19.856853 19.796978 19.737101 19.677225 19.617348 19.557472
 19.497595 19.437719 19.377844 19.317966 19.258091 19.198214 19.138338 19.078461 19.018585 18.958708 18.898832 18.838957 18.779079 18.719204 18.659327 18.599451 18.539574 18.479698 18.419823 18.359945 18.300070 18.240192 18.180317 18.120440 18.060564 18.000687 17.940811 17.880936 17.821058 17.761183 17.701305 17.641430 17.581553 17.521677 17.461802 17.401924 17.342049 17.282171 17.222296 17.162418 17.102543 17.042667 16.982790 16.922915 16.863037 16.803162 16.743284 16.683409 16.623531 16.563656 16.503780 16.443903 16.384027 16.324150 16.264275 16.204397 16.144522 16.084646 16.024769 15.964892 15.905016 15.845140 15.785264 15.725388 15.665511 15.605635 15.545758 15.485882 15.426005 15.366130 15.306253 15.246377 15.186501 15.126624 15.066748 15.006871 14.946995 14.887119 14.827243 14.767366 14.707490 14.647614 14.587737 14.527861 14.467984 14.408109 14.348232 14.288356 14.228479 14.168603 14.108727 14.048850 13.988974 13.929098 13.869222 13.809345 13.749469 13.689592 13.629716
  13.569839 13.509963 13.450088 13.390211 13.330335 13.270458 13.210582 13.150705 13.090829 13.030952 12.971077 12.911201 12.851324 12.791448 12.731571 12.671695 12.611818 12.551942 12.492066 12.432190 12.372313 12.312437 12.252561 12.192684 12.132808 12.072931 12.013056 11.953179 11.893303 11.833426 11.773550 11.713674 11.653797 11.593921 11.534045 11.474169 11.414292 11.354416 11.294539 11.234663 11.174787 11.114911 11.055035 10.995158 10.935282 10.875405 10.815529 10.755652 10.695776 10.635900 10.576024 10.516148 10.456271 10.396395 10.336518 10.276642 10.216765 10.156890 10.097013 10.037137 9.977261 9.917384 9.857508 9.797631 9.737755 9.677879 9.618003 9.558126 9.498250 9.438374 9.378497 9.318621 9.258744 9.198869 9.138992 9.079116 9.019239 8.959363 8.899487 8.839610 8.779734 8.719858 8.659982 8.600105 8.540229 8.480352 8.420476 8.360600 8.300723 8.240848 8.195940 8.166001 8.136064 8.106126 8.076187 8.046249 8.016311 7.986373 7.956435 7.926497 7.896558 7.866620 7.836682 7
 .806744 7.776806 7.746868 7.716929 7.686991 7.657053 7.627115 7.597177 7.567238 7.537301 7.507362 7.477424 7.447486 7.417548 7.387609 7.357671 7.327734 7.297795 7.267857 7.237919 7.207981 7.178042 7.148104 7.118166 7.088228 7.058290 7.028352 6.998414 6.968475 6.938537 6.908599 6.878661 6.848723 6.818785 6.788846 6.758908 6.728970 6.699032 6.669094 6.639155 6.609218 6.579279 6.549341 6.519403 6.489465 6.459527 6.429588 6.399650 6.369712 6.339774 6.309836 6.279898 6.249959 6.220021 6.190083 6.160145 6.130207 6.100269 6.070331 6.040392 6.010454 5.980516 5.950578 5.920640 5.890702 5.860764 5.830825 5.800887 5.770949 5.741011 5.711072 5.681134 5.651196 5.621258 5.591320 5.561382 5.531444 5.501505 5.471567 5.441629 5.411691 5.381753 5.351815 5.321877 5.291938 5.262000 5.232062 5.202124 5.172186 5.142248 5.112309 5.082371 5.052433 5.022495 4.992557 4.962618 4.932681 4.902742 4.872804 4.842866 4.812928 4.782990 4.753051 4.723113 4.693175 4.663237 4.633299 4.603361 4.573422 4.543484
 4.513546 4.483608 4.453670 4.423732 4.393794 4.363855 4.333917 4.303979 4.274041 4.244103 4.214165 4.184227 4.154288 4.124350 4.094412 4.064474 4.034535 4.004598 3.974659 3.944721 3.914783 3.884845 3.854907 3.824969 3.795030 3.765092 3.735154 3.705216 3.675278 3.645339 3.615401 3.585463 3.555525 3.525587 3.495649 3.465711 3.435772 3.405834 3.375896 3.345958 3.316020 3.286082 3.256143 3.226205 3.196267 3.166329 3.136391 3.106453 3.076514 3.046576 3.016638 2.986700 2.956762 2.926824 2.896885 2.866947 2.837009 2.807071 2.777133 2.747195 2.717257 2.687318 2.657380 2.627442 2.597504 2.567566 2.537627 2.507689 2.477751 2.447813 2.417875 2.387937 2.357999 2.328060 2.298122 2.268184 2.238246 2.208308 2.178370 2.148432 2.118493 2.088555 2.058617 2.028679 1.998741 1.968802 1.938864 1.908926 1.878988 1.849050 1.819112 1.789174 1.759235 1.729297 1.699359 1.669421 1.639483 1.609545 1.579606 1.549668 1.519730 1.489792 1.459854 1.429916 1.399977 1.370039 1.340101 1.310163 1.280225 1.250287
  1.220348 1.190410 1.160472 1.130534 1.100596 1.070658 1.040720 1.010781 0.980843 0.950905 0.920967 0.891029 0.861091 0.831152 0.801214 0.771276 0.741338 0.711400 0.681462 0.651523 0.621585 0.591647 0.561709 0.531771 0.501833 0.471894 0.441956 0.412018 0.382080 0.352142 0.322204 0.292266 0.262327 0.232389 0.202451 0.172513 0.142575 0.112637 0.082698 0.052760 0.022822 -0.007116 -0.037054 -0.066992 -0.096931 -0.126869 -0.156807 -0.186745 -0.216683 -0.246621 -0.276560 -0.306498 -0.336436 -0.366374 -0.396312 -0.426250 -0.456188 -0.620848 -0.920230 -1.219612 -1.518993 -1.818375

On Sep 2, 2011, at 8:30 AM, Dennis Shea wrote:

> As noted in previous postings to ncl-talk,
> NCL can't read vgroup data on HDF files, so we got these
> values via hdfview and wrote them to an ascii file. (attached)
>
> The variable has a "fillvalue" attribute but this is not recognized
> by many software tools including NCL which understands "_FillValue". This was added to the imported variable.
>
> Good Luck
>
>
> On 8/31/11 12:23 PM, Glauber Mariano wrote:
>> Hi NCL users,
>>
>> I got the calipso data and I'm trying to plot of
>> Total_Attenuated_Backscatter_532 in a xy-plot. I intend to do just an
>> average of the 50 lat/lon.
>>
>> How can I get the height of the data? Because I don't have a var named
>> "height" as the "latitude" and "longitude".
>>
>> My script is below:
>> --------------------------------------------------------------------------------------------------------------
>> 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"
>>
>> calipsofile =
>> addfile("CAL_LID_L1-ValStage1-V3-01.2011-05-01T05-00-22ZN.hdf","r")
>> tab = calipsofile->$"Total_Attenuated_Backscatter_532"$
>> printVarSummary(tab)
>>
>> avgtab = dim_avg(tab(fakeDim41|1:582, fakeDim40|1:50))
>>
>> wks = gsn_open_wks( "pdf", "graficos_calipso_mean" )
>>
>> res = True
>> res@trYReverse = True
>> res@trXMinF = 0.
>>
>> grafico1 = gsn_xy( wks, avgtab(:), ispan(1,582,1), res )
>> --------------------------------------------------------------------------------------------------------------
>>
>> Someone could help me?
>>
>> Best regards,
>>
>>
>> Glauber Lopes Mariano
>> Email: <mailto:glauber.mariano@cptec.inpe.br>glaubermariano@gmail.com
>> <mailto:glaubermariano@gmail.com>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> <rd_CAL_L1.ncl><CAL_LID_L1-VALSTAGE1.Height.txt>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 2 08:44:44 2011

This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT