You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update the synbath grid (to version 2) in the main server #213
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.
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:
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).
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).
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.
@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:
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!
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
Copy over the files from candidate to oceania (data).
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.
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:
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.
Activity
Esteban82 commentedon Aug 19, 2023
I just update the main server
seisman commentedon Aug 21, 2023
Likely something wrong with the synbath data:
It gives:
as you can see, the min/max values of the dataset are 0.
seisman commentedon Aug 21, 2023
gmt grdimage @earth_synbath_01d -png mapgives:PaulWessel commentedon Aug 21, 2023
Can confirm. Checking with @Esteban82
Esteban82 commentedon Aug 21, 2023
I can confirm the issue
Esteban82 commentedon Aug 21, 2023
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.PaulWessel commentedon Aug 21, 2023
I'll see too
Esteban82 commentedon Aug 22, 2023
Hi @PaulWessel.
I ran the script
srv_downsampler_grid.shagain 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=9I 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?
seisman commentedon Aug 24, 2023
@Esteban82 @PaulWessel Any updates on this problematic dataset?
Esteban82 commentedon Aug 25, 2023
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).
seisman commentedon Aug 25, 2023
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.
Esteban82 commentedon Aug 25, 2023
@PaulWessel what do you think?
10 remaining items
PaulWessel commentedon Aug 27, 2023
Curiously, if I add / at the end of the ssh command (destination) it works for both the make and the plain CLI.
PaulWessel commentedon Aug 27, 2023
@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:or something like that.
Esteban82 commentedon Aug 27, 2023
Hi @PaulWessel
Glad to help but I think that I don't have permissions to work on Venus dir.
Esteban82 commentedon Aug 27, 2023
I see that now works. @PaulWessel should I copy those files to 'Oceania'?
gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=candidatePaulWessel commentedon Aug 27, 2023
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!
PaulWessel commentedon Aug 27, 2023
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_synbathand that would
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 -nand 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 -nand get a report there, then remove -n to do the tiling.
Esteban82 commentedon Aug 27, 2023
Ok. I will try to do it tonigth (UTC -3).
Esteban82 commentedon Aug 28, 2023
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
I try it and get this:
Do you mean
make server-release? I sawserver_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=oceaniaPaulWessel commentedon Aug 28, 2023
There is no target
release-earth_synbath. I think you meanmake place-earth-synbathStay away from anything with server in the name - look at them and see if they make sense but do not run.
PaulWessel commentedon Aug 28, 2023
See 6. item in makefile help and replace neptune with venus or synbath.
Esteban82 commentedon Aug 28, 2023
I am bit confused.
These things are just to update the data in
candidatefrom 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.
PaulWessel commentedon Aug 28, 2023
On the road; give me 90 minutes, sorry
Esteban82 commentedon Aug 31, 2023
I think that this was fixed. Do you agree @seisman ?
You could try this:
gmt grdimage @earth_synbath_01d -png map --GMT_DATA_SERVER=oceaniaseisman commentedon Sep 1, 2023
Yes, the PyGMT tests all pass now. Thanks for your fix!