2
目录
第一章 引言 ............................................................................................................................................................... 4
1.1 设置用户路径 .............................................................................................................................................. 4
1.2 运行 .............................................................................................................................................................. 4
第二章 语言 ............................................................................................................................................................... 5
2.1 符号 .............................................................................................................................................................. 5
2.2 数据类型 ...................................................................................................................................................... 5
2.3 保留的关键字 .............................................................................................................................................. 5
2.4 表达式 .......................................................................................................................................................... 6
2.5 变量 .............................................................................................................................................................. 6
2.6 循环 .............................................................................................................................................................. 6
2.7 语句 .............................................................................................................................................................. 7
2.8 维数和下标 .................................................................................................................................................. 7
2.9 维数简化 ...................................................................................................................................................... 8
2.10 命名的维数 ................................................................................................................................................ 8
2.11 坐标变量 .................................................................................................................................................... 8
2.12 属性 ............................................................................................................................................................ 9
2.13 _FillValue ..................................................................................................................................................... 9
2.14 强制型转 .................................................................................................................................................... 9
2.15 变量和元数据 ............................................................................................................................................ 9
第三章 NCL 文件输入/输出 .................................................................................................................................. 10
3.1 支持的格式 ................................................................................................................................................ 10
3.2 二进制数据文件 ........................................................................................................................................ 12
3.3 ASCII ............................................................................................................................................................. 13
3.4 写 netCDF/HDF 文件 .................................................................................................................................. 13
3.5 远程文件访问:OPeNDAP ........................................................................................................................ 15
第四章 输出 ............................................................................................................................................................. 15
4.1 printVarSummary ........................................................................................................................................ 16
4.2 print ............................................................................................................................................................. 16
4.3 sprintf, sprinti .............................................................................................................................................. 17
4.4 write_matrix ................................................................................................................................................ 17
第五章 数据分析 ..................................................................................................................................................... 17
5.1 数组语法 .................................................................................................................................................... 17
5.2 数组一致性 ................................................................................................................................................ 18
5.3 数组内存分配 ............................................................................................................................................ 18
5.4 函数和过程 ................................................................................................................................................ 19
5.5 内部函数和过程 ........................................................................................................................................ 20
5.6 contributed.ncl ............................................................................................................................................ 21
5.6.1 Wrappers .......................................................................................................................................... 21
5.6.2 类型转换 ......................................................................................................................................... 21
5.6.3 气候函数 ......................................................................................................................................... 22
5.7 自定义函数 ................................................................................................................................................ 22