Skip to content

Issue with THEDATE in gmt_data_server.txt #277

@Esteban82

Description

@Esteban82

This is from https://oceania.generic-mapping-tools.org/gmt_data_server.txt

532
# 6.1.0 or later GMT version required
#
# Master table with information about all the remote data sets available on the GMT Data server
# Created by make server-info.
#
# Updated:	THEDATE

There should be an actual Date instead of THEDATE in the file. In the past (I found it here), the following codes made the trick in the makefile. I don't know why they were removed.

server-info:
		date "+%Y-%m-%d" | awk '{printf "s/THEDATE/%s/g\n", $$1}' > /tmp/sed.txt
		cat information/earth_*_server.txt | grep -v '^#' | wc -l | awk '{printf "%d\n", $$1}' > information/gmt_data_server.txt
		sed -f /tmp/sed.txt < information/gmt_data_server_header.txt >> information/gmt_data_server.txt
		cat information/earth_*_server.txt >> information/gmt_data_server.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions