Skip to content

Update the synbath grid (to version 2) in the main server #213

Closed

Description

@Esteban82

I will update the synbath grids (to version 2) in the main server.

The steps to follow are:

  • Test the files (already in the test server).
  • The info in gmt_data_server.txt is already updated.
  • Copy and place the updated earth_synbath data from the test server to the main server.
  • in the remote-datasets repository, update the information for of the grid and in the changelog.
  • Close this issue.

Activity

  1. self-assigned this
    on Aug 18, 2023
  2. Esteban82 commented on Aug 19, 2023

    @Esteban82
    MemberAuthor

    I just update the main server

  3. seisman commented on Aug 21, 2023

    @seisman
    Member

    Likely something wrong with the synbath data:

    gmt grdcut -R-95/-94/-1.5/-1 @earth_synbath_30s_p -Gtemp.nc
    gmt grdinfo temp.nc -C
    

    It gives:

    temp.nc	-95	-94	-1.5	-1	0	0	0.00833333333333	0.00833333333333	120	60	1	1
    

    as you can see, the min/max values of the dataset are 0.

  4. seisman commented on Aug 21, 2023

    @seisman
    Member

    gmt grdimage @earth_synbath_01d -png map gives:
    map

  5. PaulWessel commented on Aug 21, 2023

    @PaulWessel
    Contributor

    Can confirm. Checking with @Esteban82

  6. Esteban82 commented on Aug 21, 2023

    @Esteban82
    MemberAuthor

    I can confirm the issue

  7. Esteban82 commented on Aug 21, 2023

    @Esteban82
    MemberAuthor

    I try with the files that I upload to the test server and I got the same result. I also check another grids (earth_relief, gebco) and there was no such problem.
    So I think that I there was a problem when the data was proccessed (i.e. when I run make earth-synbath). I could try to do it again tomorrow to see if I got the same result.

  8. PaulWessel commented on Aug 21, 2023

    @PaulWessel
    Contributor

    I'll see too

  9. Esteban82 commented on Aug 22, 2023

    @Esteban82
    MemberAuthor

    Hi @PaulWessel.

    I ran the script srv_downsampler_grid.sh again and I get the same wrong grids. I didn't get any error message.
    I think that the problem is generated with:

    gmt grdconvert ${SRC_FILE} ${DST_FILE}=${DST_MODIFY} --IO_NC4_DEFLATION_LEVEL=9

    I tried the 15s_p.grd that is created and it already wrong. The original grid it is ok.

    I tried with GMT 6.4 on windows. Maybe there is an issue that was already fixed (but in this case I don't know why it didn't happend with the other grids).

    Could you try to run it?

  10. seisman commented on Aug 24, 2023

    @seisman
    Member

    @Esteban82 @PaulWessel Any updates on this problematic dataset?

  11. Esteban82 commented on Aug 25, 2023

    @Esteban82
    MemberAuthor

    Nop. I don't know what the problem is.
    Instead I could process the previous version. Or try to process the grid whit a 32-bit float format (=nf, so without compression).

  12. seisman commented on Aug 25, 2023

    @seisman
    Member

    Nop. I don't know what the problem is.
    Instead I could process the previous version.

    It would be great to revert back to the previous version if we can't fix the bug in the new version in one or two days. People may be using the synbath dataset and are surprised that it suddenly doesn't work.

  13. Esteban82 commented on Aug 25, 2023

    @Esteban82
    MemberAuthor

    @PaulWessel what do you think?

  14. 10 remaining items

  15. PaulWessel commented on Aug 27, 2023

    @PaulWessel
    Contributor

    Curiously, if I add / at the end of the ssh command (destination) it works for both the make and the plain CLI.

  16. PaulWessel commented on Aug 27, 2023

    @PaulWessel
    Contributor

    @Esteban82, since you have placed all the others (and I just updated venus with David's 2012 no gaps grid), the next step is to run a non-existent command that will build gmt_data_server.txt for the candidate server from all the individual text bits. The srv_tiler.sh now places the files like venus_relief_server.txt inside the venus_relief tree so it will be easy to update the server file. Could you please

    Copy all those individual planet_dataset_server.txt snippets into the corresponding planet_dataset subdirectories on the candidate server and I will work on the script. Once I have this working the steps will have one more entry:

    1. make candidate-server

    or something like that.

  17. Esteban82 commented on Aug 27, 2023

    @Esteban82
    MemberAuthor

    Hi @PaulWessel

    Glad to help but I think that I don't have permissions to work on Venus dir.

    -bash-4.2$ pwd
    /export/gmtserver/gmt/candidate/server
    -bash-4.2$ ls -l
    total 0
    drwxrwxr-x 18 pwessel gmt 313 ago 26 01:55 earth
    drwxrwxr-x  3 pwessel gmt  25 ago 23 03:03 mars
    drwxrwxr-x  3 pwessel gmt  28 ago 23 03:03 mercury
    drwxr-xr-x  3 pwessel gmt  25 ago 23 03:02 moon
    drwxrwxr-x  3 pwessel gmt  26 ago 23 03:03 pluto
    drwx--x--x  3 pwessel gmt  26 ago 26 23:56 venus
    
    
  18. Esteban82 commented on Aug 27, 2023

    @Esteban82
    MemberAuthor

    FYI, almost done with processing and uploading synth. Stay tuned.

    I see that now works. @PaulWessel should I copy those files to 'Oceania'?

    gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=candidate

    map

  19. PaulWessel commented on Aug 27, 2023

    @PaulWessel
    Contributor

    Thanks will fix that shortly. Made many changes to our processing scripts and will report once I have run it through venus again - setting the permission correctly is one of many tasks!

  20. PaulWessel commented on Aug 27, 2023

    @PaulWessel
    Contributor

    does the candidate dir have earth_synbath_server.txt inside earth_synbath? I am hoping to reduce errors by having you do

    make release-earth_synbath

    and that would

    1. Copy over the files from candidate to oceania (data).
    2. Rebuild the gmt_data_server.txt file

    Because we have to be ultra careful not making any mistakes on oceania data I would like us to wait until the scripts and makefile is completed.

    Meanwhile, refresh the placing branch and you will see changes. Note I have removed the -f options from srv_downsampler_grid.sh and srv_tiler.sh. They now have -n for a run through but do not create files. E.g., after you pull the latest you can go to the gmtserver-admin dir and run

    scripts/srv_downsampler_grid.sh earth_synbath -n

    and see the various tasks without running them. If you remote -n then it will do the work as before. Then, you can also try

    scripts/srv_tiler.sh earth_synbath -n

    and get a report there, then remove -n to do the tiling.

  21. Esteban82 commented on Aug 27, 2023

    @Esteban82
    MemberAuthor

    Ok. I will try to do it tonigth (UTC -3).

  22. Esteban82 commented on Aug 28, 2023

    @Esteban82
    MemberAuthor

    does the candidate dir have earth_synbath_server.txt inside earth_synbath?

    Yes. It is possible to browse in candidate. http://candidate.generic-mapping-tools.org/server/earth/earth_synbath/

    I am hoping to reduce errors by having you do

    make release-earth_synbath

    I try it and get this:

    make release-earth_synbath
    make: *** No rule to make target 'release-earth_synbath'.  Stop.
    

    Do you mean make server-release ? I saw server_release.sh. It says "DANGEROUS" so I didn't want to run it.
    I undersand that it will copy all the planets data that are not in the oceania server.

    So, I decided to copy the files manually. I try this and got the same previous figure:

    gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=oceania

  23. PaulWessel commented on Aug 28, 2023

    @PaulWessel
    Contributor

    There is no target release-earth_synbath. I think you mean

    make place-earth-synbath

    Stay away from anything with server in the name - look at them and see if they make sense but do not run.

  24. PaulWessel commented on Aug 28, 2023

    @PaulWessel
    Contributor

    See 6. item in makefile help and replace neptune with venus or synbath.

  25. Esteban82 commented on Aug 28, 2023

    @Esteban82
    MemberAuthor

    I am bit confused.

    These things are just to update the data in candidate from data in my pc, right? That is, what you already did.
    Because I was thinking about how to update "oceania" to replace the erroneous synbath data.

  26. PaulWessel commented on Aug 28, 2023

    @PaulWessel
    Contributor

    On the road; give me 90 minutes, sorry

  27. Esteban82 commented on Aug 31, 2023

    @Esteban82
    MemberAuthor

    I think that this was fixed. Do you agree @seisman ?

    You could try this:
    gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=oceania

  28. seisman commented on Sep 1, 2023

    @seisman
    Member

    I think that this was fixed. Do you agree @seisman ?

    You could try this: gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=oceania

    Yes, the PyGMT tests all pass now. Thanks for your fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions