Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source value 'c' #9

Closed
fitzyjoe opened this issue Jun 24, 2022 · 2 comments
Closed

Source value 'c' #9

fitzyjoe opened this issue Jun 24, 2022 · 2 comments

Comments

@fitzyjoe
Copy link

I was extracting information from gshhg v2.3.7 and ran across 4 distinct values for source:

source code with count

W: 179825
C: 8058
A: 673
c: 56

Commands I used to obtain those numbers:

gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep W  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep C  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep A  | wc
gmt gshhg gshhs_f.b | grep '>' | tr -s ' ' | cut -d ' ' -f5 | grep c  | wc

I found docs on this page: https://docs.generic-mapping-tools.org/latest/supplements/gshhg/gshhg.html

It says, "Source is either W (World Vector Shoreline) or C (CIA World Data Bank II)"

I found this page: https://www.soest.hawaii.edu/pwessel/gshhg/

It lists the sources as:

World Vector Shorelines (WVS).
CIA World Data Bank II (WDBII).
Atlas of the Cryosphere (AC).

So, I'm guessing that A means "Atlas of the Cryosphere". Anyone know what lowercase 'c' means? Is it the same as uppercase 'C'?

@PaulWessel
Copy link
Member

I see the gshhg man page needs some updating to mention A - thanks. As for lower case c, the GMT gshhg man page says

Source is either W (World Vector Shoreline) or C (CIA World Data Bank II); lower case is used if a lake is a river-lake

so those are areas of rivers that are too wide to be a "line".

PaulWessel added a commit to GenericMappingTools/gmt that referenced this issue Jun 25, 2022
It had no mention of Atlas of the Cryosphere and levels 5-6 for Antarctica.  This PR improves the documentation and adds a table for the levels.  Partial response from GenericMappingTools/gshhg-gmt#9.
@PaulWessel
Copy link
Member

I have improved the gshhg GMT man page to include mention of the Atlas and A.

PaulWessel added a commit to GenericMappingTools/gmt that referenced this issue Jun 25, 2022
It had no mention of Atlas of the Cryosphere and levels 5-6 for Antarctica.  This PR improves the documentation and adds a table for the levels.  Partial response from GenericMappingTools/gshhg-gmt#9.
@seisman seisman closed this as completed Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants