From f48d47a3649aa1219a26a7bb6071b06910e90c9f Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Tue, 4 Feb 2020 13:54:31 +0100 Subject: [PATCH] set product_id (only for future products) --- julia/merge_products.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/julia/merge_products.jl b/julia/merge_products.jl index 7acf8a7..60080fb 100644 --- a/julia/merge_products.jl +++ b/julia/merge_products.jl @@ -2,6 +2,8 @@ using NCDatasets using Dates using Glob using DIVAnd +using UUIDs + include("MergingClim.jl") plotcheck = false @@ -40,8 +42,8 @@ units = "mg/m^3" #var_stdname = "mass_concentration_of_inorganic_nitrogen_in_sea_water" #units = "umol/l" - -product_id = "" +# Every merged NetCDF file should have a unique identifier +product_id = string(uuid1()) hostname = gethostname() if hostname == "ogs01"