Last change
on this file since 173 was
4,
checked in by dumas, 10 years ago
|
initial import GRISLI trunk
|
File size:
1.4 KB
|
Line | |
---|
1 | #----------------------------------------------------------- |
---|
2 | # A) on coupe sur la zone Groenland, et on "affine" a 30 sec |
---|
3 | grdcut ../IN_OUTPUT/IN_INIT/ETOPO1_Ice_g.grd -G../IN_OUTPUT/TEMP/etopo1min_surface_groen.grd -R/-110/20/50/85 |
---|
4 | grdsample ../IN_OUTPUT/TEMP/etopo1min_surface_groen.grd -G../IN_OUTPUT/TEMP/etopo30s_surface.grd -I30c |
---|
5 | rm ../IN_OUTPUT/TEMP/etopo1min_surface_groen.grd |
---|
6 | #----------------------------------------------------------- |
---|
7 | |
---|
8 | |
---|
9 | #----------------------------------------------------------- |
---|
10 | # B) on passe du grd en lon/lat/z en un ASCII x/y/z |
---|
11 | # on utilise la projection de Bamber |
---|
12 | grd2xyz ../IN_OUTPUT/TEMP/etopo30s_surface.grd -R-110/20/50/85 > ../IN_OUTPUT/TEMP/etopo30s_surface.lonlatz |
---|
13 | mapproject ../IN_OUTPUT/TEMP/etopo30s_surface.lonlatz -Js-39/90/71/1:50000000 -Fk -R/-110/20/50/85 -C > ../IN_OUTPUT/TEMP/etopo30s_surface.xyz.txt |
---|
14 | #rm ../IN_OUTPUT/TEMP/etopo30s_surface.lonlatz |
---|
15 | rm ../IN_OUTPUT/TEMP/etopo30s_surface.grd |
---|
16 | #----------------------------------------------------------- |
---|
17 | |
---|
18 | |
---|
19 | #----------------------------------------------------------- |
---|
20 | # C) on recree des fichiers grd et xyz (ordonne) |
---|
21 | # Grille finale plus grande que celle de Bamber |
---|
22 | xyz2grd ../IN_OUTPUT/TEMP/etopo30s_surface.xyz.txt -G../IN_OUTPUT/TEMP/surface_xyz_5km.grd -I5 -R-990/895/-3515/-550 |
---|
23 | grd2xyz ../IN_OUTPUT/TEMP/surface_xyz_5km.grd > ../IN_OUTPUT/TEMP/surface_xyz_5km.txt |
---|
24 | rm ../IN_OUTPUT/TEMP/etopo30s_surface.xyz.txt |
---|
25 | #----------------------------------------------------------- |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.