NodeJS wrapper for GMT

Open
#1 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
anaconda, nodejs
Domain
tooling

Research direction

The issue does not name repository files, tests, or an existing wrapper entry point. Start by reviewing the requested NodeJS wrapper scope and reproducing the gmt command failure in the reported Anaconda environment; done would require an agreed wrapper design and a working GMT installation.

Written by the indexing model from the issue text.

Description

Hi all,

My name is Davide de Lerma, during my past experience I used GMT and I liked the functionalities provided by this tool. I would like to create a NodeJS wrapper for GMT.
Many people are starting creating isomorphic web apps so having a wrapper for GMT in NodeJS could help this kind of users to use the GMT functionalities directly in their JS code.
Thanks to the kind help of @leouieda for creating this repo.
This is first add-on I write for nodeJS so any kind of help and contribution will be very appreciated.
I tried to install gmt with Anaconda following the guide on https://github.com/conda-forge/gmt-feedstock.
Unfortunately I am still not able to use GMT as I got the following error when I run the gmt command: dyld: Library not loaded: @rpath/libgdal.20.dylib Referenced from: /anaconda/bin/gmt Reason: Incompatible library version: gmt requires version 24.0.0 or later, but libgdal.20.dylib provides version 23.0.0 [1] 35357 abort gmt
The GDAL version I am using is GDAL 2.2.2, released 2017/09/15
The packages installed in my conda environments are:
blas 1.1 openblas conda-forge
ca-certificates 2017.7.27.1 0 conda-forge
certifi 2017.7.27.1 py36_0 conda-forge
curl 7.55.1 0 conda-forge
dcw-gmt 1.1.2 0 conda-forge
expat 2.2.1 0 conda-forge
fftw 3.3.7 0 conda-forge
freexl 1.0.2 2 conda-forge
gdal 2.2.1 np113py36_0 conda-forge
geos 3.5.1 1 conda-forge
ghostscript 9.20 0 conda-forge
giflib 5.1.4 0 conda-forge
gmt 6.0.0a6 blas_openblas_1 [blas_openblas] conda-forge
gshhg-gmt 2.3.7 0 conda-forge
hdf4 4.2.13 0 conda-forge
hdf5 1.8.18 2 conda-forge
icu 58.1 1 conda-forge
jpeg 9b 1 conda-forge
json-c 0.12.1 0 conda-forge
kealib 1.4.7 3 conda-forge
krb5 1.14.2 0 conda-forge
libdap4 3.18.3 2 conda-forge
libgdal 2.2.1 0 conda-forge
libgfortran 3.0.0 0 conda-forge
libiconv 1.14 4 conda-forge
libnetcdf 4.4.1.1 h1c97c45_7
libpng 1.6.28 2 conda-forge
libpq 9.6.3 0 conda-forge
libspatialite 4.3.0a 15 conda-forge
libssh2 1.8.0 2 conda-forge
libtiff 4.0.7 1 conda-forge
libxml2 2.9.5 1 conda-forge
ncurses 5.9 10 conda-forge
numpy 1.13.2 py36_blas_openblas_200 [blas_openblas] conda-forge
openblas 0.2.20 3 conda-forge
openjpeg 2.3.0 1 conda-forge
openssl 1.0.2l 0 conda-forge
pcre 8.39 0 conda-forge
pip 9.0.1 py36_0 conda-forge
proj4 4.9.3 4 conda-forge
python 3.6.3 1 conda-forge
readline 6.2 0 conda-forge
setuptools 36.6.0 py36_1 conda-forge
sqlite 3.13.0 1 conda-forge
tk 8.5.19 2 conda-forge
wheel 0.30.0 py_1 conda-forge
xerces-c 3.1.4 3 conda-forge
xz 5.2.3 0 conda-forge
zlib 1.2.11 0 conda-forge

Hope you can help me to solve this issue, so that I can start using GMT.

Thanks,
Davide

Dominant language
No language data
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.