# CALIOPmatlab
Matlab routines to open and plot data from [CALIOP, the lidar on board the
CALIPSO satellite from NASA](https://www-calipso.larc.nasa.gov/). The
focus is on the vertical feature mask (VFM), sometimes
called Feature Classification Flag (e.g. VFM files) or
Atmospheric Volume Description (e.g. aerosol files).
This projects builds upon the original Matlab code by [Ralph Kuehn
(U. of Wisconsin-Madison)](https://espo.nasa.gov/gasex/person/Ralph_Kuehn)
that can be accessed at the CALIPSO website (see section **Layout of the Feature
Classification Flag data block**):
https://www-calipso.larc.nasa.gov/resources/calipso_users_guide/data_summaries/vfm/
The exact link is:
https://www-calipso.larc.nasa.gov/resources/calipso_users_guide/tools/matlab/vfm_plot.zip
This hidden sample code is much more complete than the more readily available codes here:
* http://hdfeos.org/zoo/index_openLaRC_Examples.php#CALIPSO
* http://hdfeos.org/zoo/LaRC_CALIPSO.php
## What's new
* Corrected the old code to show the true values of the flags on the colorbar.
* Made the code more generic, so it's easier to define new variables (and accompaning color maps) to be plotted.
* Modified the colormaps to match precisely those used at the CALIPSO website.
In the future, we'll use the aerosol colormaps from
[ccplot](https://ccplot.org/) and include the hability to plot the
aerosol fields as well.
## Usage
Just open Matlab on the directory with all files, and run example.m. It will use
the provided V3-30 VFM HDF file, which is for 2013-May-6 17:20, to produce a plot
of the Feature Type. This is the expected output:
https://go.nasa.gov/2N0Tagl
Also found on the samples folder.
## VFM structure
To save space, the VFM uses a highly compacted representation of 7
different masks/flags (integer values) into a single 2-byte (16-bit)
integer. If you haven't done so yet, please read carefully the
documentation here:
https://www-calipso.larc.nasa.gov/resources/calipso_users_guide/data_summaries/vfm/
Here is a summary:
bits 1-3 Feature Type
* 0 = invalid (bad or missing data)
* 1 = "clear air"
* 2 = cloud
* 3 = aerosol
* 4 = stratospheric feature
* 5 = surface
* 6 = subsurface
* 7 = no signal (totally attenuated)
bits 4-5 Feature Type QA
* 0 = none
* 1 = low
* 2 = medium
* 3 = high
6-7 Ice/Water Phase
* 0 = unknown / not determined
* 1 = randomly oriented ice
* 2 = water
* 3 = horizontally oriented ice
8-9 Ice/Water Phase QA
* 0 = none
* 1 = low
* 2 = medium
* 3 = high
10-12 Feature Sub-type
* If feature type = aerosol, bits 10-12 will specify the aerosol type
* 0 = not determined
* 1 = clean marine
* 2 = dust
* 3 = polluted continental
* 4 = clean continental
* 5 = polluted dust
* 6 = smoke
* 7 = other
If feature type = cloud, bits 10-12 will specify the cloud type.
* 0 = low overcast, transparent
* 1 = low overcast, opaque
* 2 = transition stratocumulus
* 3 = low, broken cumulus
* 4 = altocumulus (transparent)
* 5 = altostratus (opaque)
* 6 = cirrus (transparent)
* 7 = deep convective (opaque)
If feature type = Polar Stratospheric Cloud, bits 10-12 will specify PSC classification.
* 0 = not determined
* 1 = non-depolarizing PSC
* 2 = depolarizing PSC
* 3 = non-depolarizing aerosol
* 4 = depolarizing aerosol
* 5 = spare
* 6 = spare
* 7 = other
13 Cloud / Aerosol /PSC Type QA
* 0 = not confident
* 1 = confident
14-16 Horizontal averaging required for detection
* (provides a coarse measure of feature backscatter intensity)
* 0 = not applicable
* 1 = 1/3 km
* 2 = 1 km
* 3 = 5 km
* 4 = 20 km
* 5 = 80 km
没有合适的资源?快使用搜索试试~ 我知道了~
matlab代码读取hdf-CALIOPmatlab:用于打开和绘制CALIOP-CALIPSO-NASA数据的Matlab例程
共21个文件
png:10个
m:8个
hdf:1个
5星 · 超过95%的资源 需积分: 42 25 下载量 9 浏览量
2021-06-17
04:23:56
上传
评论 6
收藏 5.71MB ZIP 举报
温馨提示
matlab代码读取hdf CALIOPmatlab Matlab 例程从 . 重点是垂直特征掩码 (VFM),有时称为特征分类标志(例如 VFM 文件)或大气体积描述(例如气溶胶文件)。 该项目建立在原始 Matlab 代码的基础上,可在 CALIPSO 网站上访问该代码(请参阅特征分类标志数据块的布局部分): 确切的链接是: 这个隐藏的示例代码比这里更容易获得的代码完整得多: 什么是新的 更正了旧代码以在颜色栏上显示标志的真实值。 使代码更通用,因此更容易定义要绘制的新变量(和伴随的颜色图)。 修改了颜色图以精确匹配 CALIPSO 网站上使用的颜色图。 将来,我们将使用来自并包括绘制气溶胶场的能力的气溶胶颜色图。 用法 只需在包含所有文件的目录上打开 Matlab,然后运行 example.m。 它将使用提供的 V3-30 VFM HDF 文件,该文件适用于 2013 年 5 月 6 日 17:20,以生成特征类型的绘图。 这是预期的输出: 也可以在示例文件夹中找到。 VFM结构 为了节省空间,VFM 使用高度压缩的 7 个不同掩码/标志(整数值)表示为单个 2 字节(1
资源详情
资源评论
资源推荐
收起资源包目录
CALIOPmatlab-main.zip (21个子文件)
CALIOPmatlab-main
vfm_plot.m 6KB
vfm_altitude.m 728B
AddMinorTicks.m 2KB
example.m 2KB
LICENSE 18KB
CreateColorMap.m 7KB
myaa.m 11KB
samples
2013-05-06_17-20-01_V3.30_2_7.png 223KB
2013-05-06_17-20-01_V3.30_2_9.png 89KB
2013-05-06_17-20-01_V3.30_2_1.png 1.34MB
2013-05-06_17-20-01_V3.30_2_8.png 164KB
2013-05-06_17-20-01_V3.30_map_2.png 129KB
2013-05-06_17-20-01_V3.30_2_4.png 1.27MB
2013-05-06_17-20-01_V3.30_2_3.png 590KB
CAL_LID_L2_VFM-ValStage1-V3-30.2013-05-06T17-20-01ZD_Subset.hdf 2.37MB
2013-05-06_17-20-01_V3.30_2_5.png 809KB
2013-05-06_17-20-01_V3.30_2_6.png 175KB
2013-05-06_17-20-01_V3.30_2_2.png 1017KB
vfm_expand.m 2KB
vfm_type.m 7KB
README.md 3KB
共 21 条
- 1
weixin_38676500
- 粉丝: 9
- 资源: 916
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1