grdinterpolate -T documentation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Bắt đầu với trang hướng dẫn sử dụng của grdinterpolate, đặc biệt là phần mô tả hiện tại của -T và ví dụ đầu tiên. Xác nhận hành vi được ghi trong tài liệu đối với một mức duy nhất, danh sách mức và tệp mức, sau đó cập nhật cách diễn đạt để việc chọn các mức z là rõ ràng và nhất quán với cú pháp của tùy chọn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Sorry, not exactly sure how to label this. I have been using grdinterpolate to get 2-d depth slices from 3-d netCDF cubes of seismic tomography models (i.e., with longitude, latitude, depth co-ordinates).
The way to do this, as far as I can tell, is to use grdinterpolate -T[level]. To be fair, there are some clues on the manual page for grdinterpolate that this is the way to do it (e.g., the first example is reasonably clear, and there are some hints in the description of -G), but I don't think it's easy to see from the description of -T that this is the way. It starts to talk about "time-steps" and "times", but then in the second half refers to "layers" — at first reading, I did not understand that this would be the way to choose a z-coordinate (or "level" as this manual page refers to z-coordinates). There is also no mention of choosing a single z-value.
I would like to suggest that the -T description could be improved, but please let me know if I have misunderstood something.
Current text:
**-T**\ [*min/max*\ /]\ *inc*\ [**+i**\|\ **n**] \|\ |-T|\ *file*\|\ *list*
Make evenly spaced time-steps from *min* to *max* by *inc* [Default uses input times].
For details on array creation, see `Generate 1-D Array`_. **Note**: If |-Z| is set
and no output times are set with |-T| we simply rewrite the grid-produced cube as
a 3-D data cube file and exit. Also, for |-E| and |-S| you may also just give
a range via |-T|\ *min/max* to limit the layers considered, with no interpolation
between the selected layers. If |-T| is not given and neither |-E| nor |-S| are
set, then we simply extract all layers within the bounds set by |-R|.
My idea for possible replacement text:
**-T**\ [*min/max*\ /]\ *inc*\ [**+i**\|\ **n**] \|\ |-T|\ *file*\|\ *list*
Create evenly-spaced levels from *min* to *max* by *inc* [Default uses input levels].
Alternatively, provide a comma-separated *list* of levels or a *file* containing levels
to output. A single value specified will result in a single layer being output.
For details on array creation, see `Generate 1-D Array`_. **Note**: If |-Z| is set
and no output levels are set with |-T| we simply rewrite the grid-produced cube as
a 3-D data cube file and exit. Also, for |-E| and |-S| you may also just give
a range via |-T|\ *min/max* to limit the layers considered, with no interpolation
between the selected layers. If |-T| is not given and neither |-E| nor |-S| are
set, then we simply extract all layers within the bounds set by |-R|.
I am not certain about some things:
-
I am inferring from the presence of the options "file|list" that you could specify either a comma-separated list of levels or a file containing levels but I have not checked this.
-
I think the current formatting implies you could select
-T<inc>, whereas instead of an increment it will understand that as a level. -
I assume all the mentions about times/time-steps are legacy from what the option was previously intended for, presumably it is not needed?
Let me know what you think.
Thanks,
Tom
- Ngôn ngữ chính
- C
- Star
- 997
- Fork
- 420
- Merge trung bình
- 13 giờ 27 phút
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GenericMappingTools/gmt
-
Add support for SCM 9.0.0 to GMTCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
GenericMappingTools/gmt#9316 · 10 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
GenericMappingTools/gmt#5767 · 15 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
discussion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
GenericMappingTools/gmt#9343 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
GenericMappingTools/gmt#9331 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
histogram: the min/max setting in -T is ignored when -R is setCó thể đã có người làm @seisman đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
GenericMappingTools/gmt#9330 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GenericMappingTools/gmt
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
libsndfile/libsndfile#1239 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
CommonLoon102/restunts-bb11#101 ·
Maintainer thường phản hồi trong vòng 1 ngày