GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Testing new planets relief grids. #219

Closed Esteban82 closed 7 months ago

Esteban82 commented 1 year ago

I made this script to test the new relief grids in the test directory. For all the grids I use the geo cpt.

I made a different issue so it is easy to find.

#!/bin/bash -e
# Script to test the grids

list=(mars mercury moon pluto venus) # Full list
gmt set GMT_DATA_SERVER=test

for set in ${list[@]}; do
    gmt begin remote_planets_grids_${set} png
        gmt subplot begin 2x1 -Fs15c/12c -Rg -JH15c -A -T"${set}_relief"
        gmt grdcut @${set}_relief_06m -Rg -G${set}_relief_06m.grd
        gmt subplot set 0 -A"6m"
        gmt grdimage ${set}_relief_06m.grd -Rg -Cgeo
        gmt subplot set 1 -A"5m"
        gmt grdcut @${set}_relief_05m -Rg -G${set}_relief_05m.grd
        gmt grdimage @${set}_relief_05m -Rg -Cgeo
        gmt subplot end
    gmt end #show
done
rm *.grd

remote_planets_grids_mars remote_planets_grids_mercury remote_planets_grids_moon remote_planets_grids_pluto remote_planets_grids_venus

Esteban82 commented 11 months ago

I wanted to have a second look at the MSS and now in my flooded inbox and 50 web tabs I cannot find the message from you with the links to the two candidates(french and IGPP). Please resend or point out the git page.

Both grids were on the https://topex.ucsd.edu/pub/?C=M;O=D. I see now that the original grids were removed (or renamed). Now, there is this directory https://topex.ucsd.edu/pub/MSS_replace/ with this https://topex.ucsd.edu/pub/MSS_replace/MSS_construction_10.pdf. Maybe is WIP. I think that the better thing to do is to write directly to Sandwell.

PaulWessel commented 11 months ago

Looks to me we need to use his Sept 29, 2023 file. So the recipe needs to be edited to remove the directory name, right? I may need to edit the download script again (and recipes) since we want to interfere with the downloaded file (set z <= 0 to NaN) and then we run into difficulties with SRC_file.

Esteban82 commented 11 months ago

Based on the conclusions of the previous pdf (copy below), I think that mss_sio_32.1.nc is an improve grid

We have used the along-track slope data from multiple satellites to tune the CLS22 MSS model. ... We deliver this new MSS grid (mss_sio_32.1nc??) back to CLS for testing and evaluation in the original CLS format.

I think that the better thing to do would be to wait until this grid (mss_sio_32.1.nc) is approved. Otherwise, we could use the published grid (CNES_CLS_22_H.nc, so the one that we already did). In this last case, we would need just to update SRC_FILE in the recipe.

WalterHFSmith commented 11 months ago

Guys,

We (NOAA Lab for Satellite Altimetry) have just been discussing these MSS models. I didn’t know GMT was doing things with them. Can you update me on what GMT is doing here?

Thanks, W

On Oct 2, 2023, at 10:04 AM, Federico Esteban @.***> wrote:

Based on the conclusions of the previous pdf (copy below), I think that mss_sio_32.1.nc is an improve grid

We have used the along-track slope data from multiple satellites to tune the CLS22 MSS model. ... We deliver this new MSS grid (mss_sio_32.1nc??) back to CLS for testing and evaluation in the original CLS format.

I think that the better thing to do would be to wait until this grid (mss_sio_32.1.nc) is approved. Otherwise, we could use the published grid (CNES_CLS_22_H.nc, so the one that we already did). In this last case, we would need just to update SRC_FILE in the recipe.

— Reply to this email directly, view it on GitHub https://github.com/GenericMappingTools/gmtserver-admin/issues/219#issuecomment-1743079281, or unsubscribe https://github.com/notifications/unsubscribe-auth/APUT6GPHBUAFFHEYUVGKTATX5LCVXAVCNFSM6AAAAAA35NPVA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGA3TSMRYGE. You are receiving this because you were mentioned.

Esteban82 commented 11 months ago

Hi Walter.

It is nice to see you here. We are just offering the grids as Remote Data Sets. And we are discussing which one should we use: CNES_CLS_22_H.nc or mss_sio_32.1.nc. What do you think?

PaulWessel commented 11 months ago

We are just serving up these grids. We have added the planetary stuff (moon, venus, mercury, mars, pluto), added the SIO deflections of the vertical, and then we noticed the mss grid. e just want to serve the right and best one.

Esteban82 commented 7 months ago

I think this can be closed. It was already implemented.