code:work:lvisf:2023:gmt_gridding:start
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| code:work:lvisf:2023:gmt_gridding:start [2023/03/16 17:19] – created david | code:work:lvisf:2023:gmt_gridding:start [2023/03/16 17:22] (current) – david | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * Use GMT to grid some point clouds | * Use GMT to grid some point clouds | ||
| - | |||
| - | |||
| < | < | ||
| Line 11: | Line 9: | ||
| lvis_20221114_191400_00000159.tif | lvis_20221114_191400_00000159.tif | ||
| lvis_20221114_191430_00000160.tif | lvis_20221114_191430_00000160.tif | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # mby.cpt by M. Burak YIKILMAZ | ||
| + | # | ||
| + | # (original title gmt_color.cpt) | ||
| + | # | ||
| + | # COLOR_MODEL = RGB | ||
| + | |||
| + | -150 24 140 205 | ||
| + | -100 135 206 250 | ||
| + | -90 176 226 255 | ||
| + | -50 | ||
| + | 50 16 123 48 500 232 214 125 | ||
| + | 500 232 214 125 | ||
| + | 1200 163 68 0 | ||
| + | 1800 130 30 30 2800 161 161 161 | ||
| + | 2800 161 161 161 | ||
| + | 4000 206 206 206 | ||
| + | |||
| + | B - | ||
| + | F - | ||
| + | N | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | < | ||
| + | export GMT_CPT_ELEVATION="/ | ||
| + | export GMT_CPT_HEIGHT="/ | ||
| + | export GMT_GRID_NODATA=" | ||
| + | export GMT_GRID_SIZE=" | ||
| + | export GMT_GRID_SEARCH=" | ||
| + | |||
| + | rtp_ql2filter lvis_20221114_200600_00000263.ql2 lvis_20221114_200600_00000263.geoloc.h5 lvis_20221114_200600_00000263.b3d | ||
| + | REGION=$(gmt info lvis_20221114_200600_00000263.b3d -I0.01 -bi3d) | ||
| + | gmt nearneighbor lvis_20221114_200600_00000263.b3d -N4+m2 -bi3d -Glvis_20221114_200600_00000263.grd $GMT_GRID_SIZE $GMT_GRID_SEARCH $GMT_GRID_NODATA -V $REGION | ||
| + | gmt grdgradient lvis_20221114_200600_00000263.grd -A-45 -Glvis_20221114_200600_00000263_I.grd | ||
| + | gmt grdimage -C$GMT_CPT_ELEVATION -Q -JQ267.66/ | ||
| </ | </ | ||
code/work/lvisf/2023/gmt_gridding/start.1678987175.txt.gz · Last modified: by david
