Skip to content

Commit

Permalink
Fix some minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jun 19, 2024
1 parent a18cb91 commit 57e3101
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
basedir_for_gallery = "./"
else: # build locally
siteurl_for_gallery = ""
basedir_for_gallery = ""

html_context = {
"favicon": "favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion source/install/build-source-unix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GMT 的编译及运行依赖于其他软件。

可选的依赖软件包括:

- `Ninja <https://ninja-build.org/>__: 快速的构建系统 [可选但推荐]
- `Ninja <https://ninja-build.org/>`__: 快速的构建系统 [可选但推荐]
- `GEOS <https://libgeos.org/>`__:地理信息系统的几何算法库
- `PCRE <https://www.pcre.org/>`__:正则表达式支持
- `FFTW <http://www.fftw.org/>`__:快速傅里叶变换库(>=3.3,macOS 下不需要)
Expand Down
2 changes: 1 addition & 1 deletion source/install/build-source-windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Windows 下编译 GMT 源码
- `Visual Studio <https://visualstudio.microsoft.com/zh-hans/>`__ \(安装时需要勾选 Desktop development with C++ 相关工具)
- `Git <https://git-scm.com/downloads>`__
- `CMake <https://cmake.org/download/>`__
- `Ninja <https://ninja-build.org/>__: 快速的构建系统 [可选但推荐]
- `Ninja <https://ninja-build.org/>`__: 快速的构建系统 [可选但推荐]
- `Ghostscript <https://www.ghostscript.com/>`__:生成 PDF、JPG 等格式的图片 [**必须**]
- `GraphicsMagick <http://www.graphicsmagick.org>`__\:生成 GIF 格式的动画 [**可选**]
- `FFmpeg <http://www.ffmpeg.org/>`__:生成 MP4 格式的动画 [**可选**]
Expand Down
2 changes: 1 addition & 1 deletion source/module/gmtgravmag3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gmtgravmag3d
[ |SYN_OPT--| ]

必选选项(不是全部都必选)
-------------------------
---------------------------

.. _-C:

Expand Down
6 changes: 3 additions & 3 deletions source/module/grdconvert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ grdconvert
网格文件格式。如果是多变量网格文件,需加上 ?\ *varname* 指定某个变量(见 :doc:`/grid/format`)。此外,

- **+b**\ *band* 指定抽取出某个波段,编号 *band* 从0开始计数
- **+d**\ *divisor* 将数据除以 *divisor*
- **+d**\ *divisor* 将数据除以 *divisor*
- **+s**\ *scale* 将数据乘以 *scale*
- **+o**\ *offset* 对数据做偏移,即将数据加上 *offset*
- **+n**\ *invalid* 数据中哪个值表示无效值
Expand All @@ -51,9 +51,9 @@ grdconvert
若要写的网格文件格式不是标准的netCDF格式,则需要加上 **=**\ *id* 以指定
网格文件格式(见 :doc:`/grid/format`)。此外:

- **+d**\ *divisor* 将数据除以 *divisor*
- **+d**\ *divisor* 将数据除以 *divisor*
- **+s**\ *scale* 将数据乘以 *scale*
- **+o**\ *offset* 对数据做偏移,即将数据加上 *offset*
- **+o**\ *offset* 对数据做偏移,即将数据加上 *offset*
- **+n**\ *invalid* 数据中哪个值表示无效值

需要注意的是,在写网格文件时,总是先偏移再乘除。
Expand Down

0 comments on commit 57e3101

Please sign in to comment.