Re: gmt_shell_functions.sh under GMT5.1.0
Joaquim Luis <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Mystery solved > Did a complete un-install and install. I was running both GMT 4 & 5 > for checking my codes with the new version and it seems there was a > mix up of binaries there. Now a standalone GMT 5 install works (like a > charm). Thanks for the hint Joaquim. > > Joaquim Luis <[email protected]> wrote: > > and does this one fail too? > > gmt grdmath > > just to confirm > > grdmath > > is not from a previous GMT4 binary, no? > >> Yes correct. >> >> Joaquim Luis <[email protected]> wrote: >> >> On 15-01-2014 14:39, George S. Vergos wrote: >>> Yes these are the official binaries Joaquim. I will check it >>> to other PCs at the lab as well and let you know. >> >> and you open a cmd window, type >> >> gmt math >> >> and get an error, but just 'grdmath' works fine? >> >> >> >> >>> >>> Joaquim Luis <[email protected]> wrote: >>> >>> On 15-01-2014 14:03, George Vergos wrote: >>>> Joaquim, >>>> This is strange since it does not work with my >>>> installation under Windows and Cygwin, i.e. >>>> >>>> gmt math >>>> >>>> produces an error that the command was not found. >>>> Probably local settings is the reason, but all was >>>> typically installed. >>> >>> Indeed very strange. Are you using the official GMT >>> binaries or did you build it on Cygwin? >>> >>>> >>>> Thanks for the response, >>>> George >>>> On 15/1/2014 3:59 μμ, Joaquim Luis wrote: >>>>> George, >>>>> >>>>> All gmt programs that start with 'gmt' can be called >>>>> that way. That is >>>>> gmtmath <==> gmt math >>>>> gmtset <==> gmt set >>>>> ... >>>>> >>>>> this was also for an aesthetic reason >>>>> >>>>> this looks uglier >>>>> >>>>> gmt gmtmat >>>>> >>>>> than >>>>> >>>>> gmt math >>>>> >>>>> >>>>> and it works equally well on Windows >>>>> >>>>> Joaquim >>>>> >>>>>> Hello to all, >>>>>> Since I do not know if it is a bug or system specific >>>>>> problem, I am first posting it here. >>>>>> >>>>>> Under GMT5.1.0, there is probably a bug in the last >>>>>> two line of the gmt_shell_functions.sh so that the >>>>>> frame increment for animations does not work. The >>>>>> file now reads >>>>>> >>>>>> gmt_set_framenext() { >>>>>> gmt math -Q $1 1 ADD = >>>>>> } >>>>>> >>>>>> while there should not be a space between gmt and math, >>>>>> >>>>>> gmt_set_framenext() { >>>>>> gmtmath -Q $1 1 ADD = >>>>>> } >>>>>> >>>>>> This is an issue under Windows and Cygwing, since the >>>>>> command "math" is obviously not recognized and the >>>>>> animation fails. Apologies if this is a >>>>>> platform/system specific issue. >>>>>> >>>>>> Best regards, >>>>>> George >>>>>> -- >>>>>> To unsubscribe, send the message "signoff gmt-help" >>>>>> to [email protected] >>>>> >>>> >>>> -- >>>> To unsubscribe, send the message "signoff gmt-help" to >>>> [email protected] >>> >>> >>> -- >>> Sent from my Android device with K-9 Mail. Please excuse my >>> brevity and teh typos. >> >> >> -- >> Sent from my Android device with K-9 Mail. Please excuse my >> brevity and teh typos. > > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity > and teh typos. To unsubscribe, send the message "signoff gmt-help" to [email protected]