~adigitoleo/PlateMotionRequests.jl

64ee39c0bf6d556fd3e9e01cd5ffc7cca36dfbfb — adigitoleo 2 months ago c8a3036 dev
fix: Fix typo in NetCDF creation
1 files changed, 2 insertions(+), 3 deletions(-)

M src/PlateMotionRequests.jl
M src/PlateMotionRequests.jl => src/PlateMotionRequests.jl +2 -3
@@ 116,7 116,7 @@ end
function submit(request)
    return HTTP.post(
        "https://www.unavco.org/software/geodetic-utilities/plate-motion-calculator/plate-motion/model",
        ["User-Agent" => "PlateMotionRequests.jl/$PACKAGE_VERSION (Julia/$VERSION)"],
        ["User-Agent" => "PlateMotionRequests.jl/$(PACKAGE_VERSION) (Julia/$VERSION)"],
        HTTP.Form(request),
    )
end


@@ 330,9 330,8 @@ function write_netcdf(file, table)
        "title" => "Tectonic plate motions",
        "institution" => "https://www.unavco.org/",
        "source" => join(unique(table.model), ",\n "),
        "history" => "[$(now())]: Created by PlateMotionRequests.jl $PACKAGE_VERSION\n",
        "history" => "[$(now())]: Created by PlateMotionRequests.jl $(PACKAGE_VERSION)\n",

        \n",
        "references" => "See <https://www.unavco.org/software/geodetic-utilities/plate-motion-calculator/plate-motion-calculator.html#references>",
        "comment" => "Produced using https://git.sr.ht/~adigitoleo/PlateMotionRequests.jl\n",
    )