安装并使用Panoply (netCDF, HDF and GRIB Data Viewer)

您所在的位置:网站首页 cf地图菜单 安装并使用Panoply (netCDF, HDF and GRIB Data Viewer)

安装并使用Panoply (netCDF, HDF and GRIB Data Viewer)

2023-08-11 04:21| 来源: 网络整理| 查看: 265

Panoply is a data viewer that displays geo-referenced arrays in NetCDF, HDF, and GRIB formats. Panoply是一种数据查看器,可以快速生成NetCDF,HDF和GRIB格式地理数据的视图。

下载

点击[下载地址]进行下载:

安装

panoply不需要安装,直接点击这个exe就能用了

点击exe后出现以下提示:

下载Java SE Runtime Environment 8:Java SE Runtime Environment 8 - Downloads

x86代表32位操作系统 x64代表64位操作系统 但是需要登录账户才能下载

安装Java SE Runtime Environment 8

再次点击panoply.exe就可以用了

会自动弹出来选择文件的对话框 在这里插入图片描述

通过Panoply快速查看数据 1.将数据下载到本地系统:

我选择的数据是:MCD19A2.A2019016.h27v05.006.2019022222159.hdf 批量下载MODIS数据 - 知乎

2.查看数据:

将数据下载到本地系统(例如在Windows PC系统上)后,启动Panoply。

在打开的Panoply窗口中: 使用Panoply显示的变量列表和元数据的示例 在这里插入图片描述

要查看数据:

单击感兴趣的变量,例如“ Optical_Depth_055”;所选变量的行将突出显示,其元数据显示在右侧面板上。 在这里插入图片描述 单击左上角的“Creat Plot”图标或双击变量; 将弹出“Create Plot”窗口,指出“可以创建多种类型的图”,在本示例中,选择“Create geogridded Longitude-Latitude plot”(也可以创建2D或线图)。 在这里插入图片描述 图像将显示在弹出窗口中,并带有用于进一步修改图像的选项,例如比例,颜色和标签(图2)。 在这里插入图片描述 注意: 要由Panoply进行绘制,必须使用诸如CF之类的约定为数据集变量加元数据信息标记。如果变量不是CF兼容的,则它仅显示元数据,但可能不会显示图像。(Note: To be plotted by Panoply, dataset variables must be tagged with metadata information using a convention such as CF. If a variable is not CF-complaint, it displays the metadata only, but image may not be shown.)

3.缩放图像:

Panoply能够使用调色板,图像标签和数据值缩放等选项来修改图像。此外,它还具有“zoom”(缩放)功能。要放大感兴趣的区域,请按住ctrl 键(在Mac 上为“ Command”键),然后单击并拖动一个区域。可以使用“Map”中的选项进一步调整显示区域,地图投影等。在此示例中,将值缩放到0.02-1.0的范围,并且将图像放大到中国北部。缩放后,单击“Map”选项,然后单击“Fix Proportions”(固定比例)以创建更好的经纬度比例。 在这里插入图片描述

4.保存图像:

Panoply图可以以多种格式保存,例如png,tiff,gif和pdf等:

从下拉菜单的 File选项中: File==>Save Image as …选择一种格式并保存到文件。 附加信息: Panoply可处理NetCDF,HDF和GRIB格式的地理参考数据,适用于网格化(级别3)和条带(级别1和级别2)类型的数据。要由Panoply进行绘制,必须使用气候和预报(CF)之类的约定用元数据信息标记数据集变量。如果变量不是CF兼容的,则Panoply显示元数据,但可能不会显示图像。Panoply版本3.1.1或更高版本可用于GRIB文件,包括所有参数的列表以及详细的元数据信息。变量必须包含名为“ _FillValue”或“ missing_value”的元数据,并且不区分大小写。如果不是,则填充值或数组中的缺失数据将被视为有效数据。Panoply是一种交互式工具。从版本3.1.1开始,没有批处理模式可用于运行脚本。有关更多详细信息,请直接参阅Panoply文档。

Additional Info:

Panoply works with geo-referenced data in NetCDF, HDFand GRIB formats for both gridded (Level 3) and swath (Level 1 and Level 2) type data. To be plotted by Panoply, dataset variables must be tagged with metadata information using a convention such as Climate and Forecast (CF). If a variable is not CF-complaint, Panoply displays the metadata, but an image may not be displayed.Panoply Version 3.1.1 or later works with GRIB files, including lists of all parameters, along with detailed metadata information.A variable must contain metadata named “_FillValue” or “missing_value”, and not case sensitive. If not, the fill value or missing data in the array will be treated as valid data.Panoply is an interactive tool. As of Version 3.1.1, no batch mode is available to run script. Please see Panoply documentation directly for further details. 更多参考文档详见: https://www.giss.nasa.gov/tools/panoply/help/ 在这里插入图片描述Panoply——一个快速查看netCDF的好软件-编程作图-气象家园_气象人自己的家园


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3