From 4bd3ba71cbe611bc7ad89d8b8ef8967e2e4ead9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Tue, 27 Jun 2023 16:15:14 +0200
Subject: [PATCH] Trying to convert from nc4 to nc.

---
 templates/event-generator/adapt_member.sh | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/templates/event-generator/adapt_member.sh b/templates/event-generator/adapt_member.sh
index 923bbbc..fe55013 100644
--- a/templates/event-generator/adapt_member.sh
+++ b/templates/event-generator/adapt_member.sh
@@ -57,12 +57,16 @@ integrate_sst_to_extpar "${INTERPOLATED_SST}" "${EXTERNAL_PARAMETERS_FILE}"
 
 #old_integrate_sst_to_analysis "${INTERPOLATED_SST}" "${ANALYSIS_FILE}"
 # Integrate sst to analysis
-#integrate_sst_to_analysis "${DESTINATION_GRID}" "${ANALYSIS_FILE}"
+integrate_sst_to_analysis "${DESTINATION_GRID}" "${ANALYSIS_FILE}"
 
+ncks -4 --fl_fmt=64bit analysis.nc analysis.nc2
 
-python ${PROJ_FOLDER}/templates/event-generator/icon-remap-helper.py --src-grid ${DESTINATION_GRID} \
-                                                                --dst-grid ${DESTINATION_GRID} \
-                                                                --source ${ANALYSIS_FILE} \
-                                                                --dest . \
-                                                                --output-format nc \
-                                                                --rename "analysis.nc"
\ No newline at end of file
+mv analysis.nc2 analysis.nc
+
+
+#python ${PROJ_FOLDER}/templates/event-generator/icon-remap-helper.py --src-grid ${DESTINATION_GRID} \
+#                                                                --dst-grid ${DESTINATION_GRID} \
+#                                                                --source ${ANALYSIS_FILE} \
+#                                                                --dest . \
+#                                                                --output-format nc \
+#                                                                --rename "analysis.nc"
\ No newline at end of file
-- 
GitLab