Skip to content
Prev 29229 / 29559 Next

Merge dataframe with NetCDF file

The WriteRaster should be able to do it (https://stackoverflow.com/questions/50026442/writing-r-raster-stack-to-netcdf). Also, if practical, I'd recommend switching from the raster package to the terra package which has replaced it and is written by the same author. The syntax is almost identical so it's an easy transition. terra has a writeCDF function which may work (https://rdrr.io/cran/terra/man/writeCDF.html).

Best Regards,
Alex
Message-ID: <BN0PR08MB7341824ABCC46ABEB29BDD94C67D9@BN0PR08MB7341.namprd08.prod.outlook.com>
In-Reply-To: <CAMLwc7NeR=iFBCuBV5YzXuO118O_VODf87d3Vj8frXMH9WrKCQ@mail.gmail.com>