|
88 | 88 | }, |
89 | 89 | { |
90 | 90 | "cell_type": "code", |
91 | | - "execution_count": 9, |
| 91 | + "execution_count": 5, |
92 | 92 | "metadata": {}, |
93 | 93 | "outputs": [ |
94 | 94 | { |
95 | 95 | "data": { |
96 | 96 | "text/plain": [ |
97 | | - "{'WorkDir': '/home/sarah/temp/ecoextreml/test/',\n", |
98 | | - " 'SoilPropertyPath': '/home/sarah/temp/ecoextreml/data/model_parameters/soil_property/',\n", |
99 | | - " 'ForcingPath': '/home/sarah/temp/ecoextreml/data/forcing/plumber2_data/',\n", |
100 | | - " 'ForcingFileName': 'AR-SLu_2010-2010_FLUXNET2015_Met.nc',\n", |
101 | | - " 'directional': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/directional/',\n", |
102 | | - " 'fluspect_parameters': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/fluspect_parameters/',\n", |
103 | | - " 'leafangles': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/leafangles/',\n", |
104 | | - " 'radiationdata': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/radiationdata/',\n", |
105 | | - " 'soil_spectrum': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/soil_spectrum/',\n", |
106 | | - " 'InitialConditionPath': '/home/sarah/temp/ecoextreml/soil_initialcondition/',\n", |
107 | | - " 'input_data': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/input_data.xlsx',\n", |
| 97 | + "{'WorkDir': '/scratch-shared/ecoextreml/stemmus_scope/',\n", |
| 98 | + " 'SoilPropertyPath': '/projects/0/einf2480/model_parameters/soil_property/',\n", |
| 99 | + " 'ForcingPath': '/projects/0/einf2480/forcing/plumber2_data/',\n", |
| 100 | + " 'ForcingFileName': 'FI-Hyy_1996-2014_FLUXNET2015_Met.nc',\n", |
| 101 | + " 'directional': '/projects/0/einf2480/model_parameters/vegetation_property/directional/',\n", |
| 102 | + " 'fluspect_parameters': '/projects/0/einf2480/model_parameters/vegetation_property/fluspect_parameters/',\n", |
| 103 | + " 'leafangles': '/projects/0/einf2480/model_parameters/vegetation_property/leafangles/',\n", |
| 104 | + " 'radiationdata': '/projects/0/einf2480/model_parameters/vegetation_property/radiationdata/',\n", |
| 105 | + " 'soil_spectrum': '/projects/0/einf2480/model_parameters/vegetation_property/soil_spectrum/',\n", |
| 106 | + " 'input_data': '/projects/0/einf2480/model_parameters/vegetation_property/input_data.xlsx',\n", |
| 107 | + " 'InitialConditionPath': '/projects/0/einf2480/soil_initialcondition/',\n", |
108 | 108 | " 'NumberOfTimeSteps': '5',\n", |
109 | | - " 'InputPath': '/will_be_created_under_WorkDir/input/AU-DaS_2022-05-11-1705/',\n", |
110 | | - " 'OutputPath': '/home/sarah/temp/ecoextreml/output/AR-SLu_2022-07-29-1451/'}" |
| 109 | + " 'InputPath': '',\n", |
| 110 | + " 'OutputPath': ''}" |
111 | 111 | ] |
112 | 112 | }, |
113 | | - "execution_count": 9, |
| 113 | + "execution_count": 5, |
114 | 114 | "metadata": {}, |
115 | 115 | "output_type": "execute_result" |
116 | 116 | } |
|
125 | 125 | }, |
126 | 126 | { |
127 | 127 | "cell_type": "code", |
128 | | - "execution_count": 10, |
| 128 | + "execution_count": 6, |
129 | 129 | "metadata": {}, |
130 | 130 | "outputs": [ |
131 | 131 | { |
132 | 132 | "name": "stdout", |
133 | 133 | "output_type": "stream", |
134 | 134 | "text": [ |
135 | | - "/home/sarah/temp/ecoextreml/test/input/ZA-Kru_2022-08-03-1537/ZA-Kru_2022-08-03-1537_config.txt\n" |
| 135 | + "/gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1439/ZA-Kru_2022-08-08-1439_config.txt\n" |
136 | 136 | ] |
137 | 137 | } |
138 | 138 | ], |
|
147 | 147 | }, |
148 | 148 | { |
149 | 149 | "cell_type": "code", |
150 | | - "execution_count": 11, |
| 150 | + "execution_count": 7, |
151 | 151 | "metadata": {}, |
152 | 152 | "outputs": [ |
153 | 153 | { |
154 | 154 | "data": { |
155 | 155 | "text/plain": [ |
156 | | - "{'WorkDir': '/home/sarah/temp/ecoextreml/test/',\n", |
157 | | - " 'SoilPropertyPath': '/home/sarah/temp/ecoextreml/data/model_parameters/soil_property/',\n", |
158 | | - " 'ForcingPath': '/home/sarah/temp/ecoextreml/data/forcing/plumber2_data/',\n", |
| 156 | + "{'WorkDir': '/scratch-shared/ecoextreml/stemmus_scope/',\n", |
| 157 | + " 'SoilPropertyPath': '/projects/0/einf2480/model_parameters/soil_property/',\n", |
| 158 | + " 'ForcingPath': '/projects/0/einf2480/forcing/plumber2_data/',\n", |
159 | 159 | " 'ForcingFileName': 'ZA-Kru_2000-2002_FLUXNET2015_Met.nc',\n", |
160 | | - " 'directional': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/directional/',\n", |
161 | | - " 'fluspect_parameters': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/fluspect_parameters/',\n", |
162 | | - " 'leafangles': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/leafangles/',\n", |
163 | | - " 'radiationdata': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/radiationdata/',\n", |
164 | | - " 'soil_spectrum': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/soil_spectrum/',\n", |
165 | | - " 'InitialConditionPath': '/home/sarah/temp/ecoextreml/soil_initialcondition/',\n", |
166 | | - " 'input_data': '/home/sarah/temp/ecoextreml/data/model_parameters/vegetation_property/input_data.xlsx',\n", |
| 160 | + " 'directional': '/projects/0/einf2480/model_parameters/vegetation_property/directional/',\n", |
| 161 | + " 'fluspect_parameters': '/projects/0/einf2480/model_parameters/vegetation_property/fluspect_parameters/',\n", |
| 162 | + " 'leafangles': '/projects/0/einf2480/model_parameters/vegetation_property/leafangles/',\n", |
| 163 | + " 'radiationdata': '/projects/0/einf2480/model_parameters/vegetation_property/radiationdata/',\n", |
| 164 | + " 'soil_spectrum': '/projects/0/einf2480/model_parameters/vegetation_property/soil_spectrum/',\n", |
| 165 | + " 'input_data': '/projects/0/einf2480/model_parameters/vegetation_property/input_data.xlsx',\n", |
| 166 | + " 'InitialConditionPath': '/projects/0/einf2480/soil_initialcondition/',\n", |
167 | 167 | " 'NumberOfTimeSteps': '10',\n", |
168 | | - " 'InputPath': '/home/sarah/temp/ecoextreml/test/input/ZA-Kru_2022-08-03-1537/',\n", |
169 | | - " 'OutputPath': '/home/sarah/temp/ecoextreml/test/output/ZA-Kru_2022-08-03-1537/'}" |
| 168 | + " 'InputPath': '/gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1439/',\n", |
| 169 | + " 'OutputPath': '/gpfs/scratch1/shared/ecoextreml/stemmus_scope/output/ZA-Kru_2022-08-08-1439/'}" |
170 | 170 | ] |
171 | 171 | }, |
172 | | - "execution_count": 11, |
| 172 | + "execution_count": 7, |
173 | 173 | "metadata": {}, |
174 | 174 | "output_type": "execute_result" |
175 | 175 | } |
|
181 | 181 | }, |
182 | 182 | { |
183 | 183 | "cell_type": "code", |
184 | | - "execution_count": 12, |
| 184 | + "execution_count": 8, |
185 | 185 | "metadata": {}, |
186 | 186 | "outputs": [ |
187 | 187 | { |
188 | 188 | "data": { |
189 | 189 | "text/plain": [ |
190 | | - "b'Reading config from /home/sarah/temp/ecoextreml/test/input/ZA-Kru_2022-08-03-1537/ZA-Kru_2022-08-03-1537_config.txt\\n\\n The calculations start now \\r\\n The calculations end now \\r'" |
| 190 | + "b'Opening log file: /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1439//java.log.51183\\nReading config from /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1439/ZA-Kru_2022-08-08-1439_config.txt\\nThe calculations start now\\nThe calculations end now\\n'" |
191 | 191 | ] |
192 | 192 | }, |
193 | | - "execution_count": 12, |
| 193 | + "execution_count": 8, |
194 | 194 | "metadata": {}, |
195 | 195 | "output_type": "execute_result" |
196 | 196 | } |
|
203 | 203 | }, |
204 | 204 | { |
205 | 205 | "cell_type": "code", |
206 | | - "execution_count": 14, |
| 206 | + "execution_count": 9, |
207 | 207 | "metadata": {}, |
208 | 208 | "outputs": [ |
209 | 209 | { |
210 | 210 | "name": "stdout", |
211 | 211 | "output_type": "stream", |
212 | 212 | "text": [ |
213 | | - "/home/sarah/temp/ecoextreml/test/output/ZA-Kru_2022-08-03-1537/ZA-Kru_2022-08-03-1537_STEMMUS_SCOPE.nc\n" |
| 213 | + "/gpfs/scratch1/shared/ecoextreml/stemmus_scope/output/ZA-Kru_2022-08-08-1439/ZA-Kru_2022-08-08-1439_STEMMUS_SCOPE.nc\n" |
214 | 214 | ] |
215 | 215 | } |
216 | 216 | ], |
217 | 217 | "source": [ |
218 | 218 | "# save output in netcdf format\n", |
219 | | - "variables_will_be_in_NetCDF_file = \"./STEMMUS_SCOPE/utils/csv_to_nc/required_netcdf_variables.csv\"\n", |
220 | | - "nc_file_name = save.to_netcdf(model.config, variables_will_be_in_NetCDF_file)\n", |
| 219 | + "required_netcdf_variables = \"./required_netcdf_variables.csv\"\n", |
| 220 | + "nc_file_name = save.to_netcdf(model.config, required_netcdf_variables)\n", |
221 | 221 | "print(nc_file_name)" |
222 | 222 | ] |
223 | 223 | }, |
|
230 | 230 | }, |
231 | 231 | { |
232 | 232 | "cell_type": "code", |
233 | | - "execution_count": 15, |
| 233 | + "execution_count": 10, |
234 | 234 | "metadata": {}, |
235 | 235 | "outputs": [ |
236 | 236 | { |
237 | 237 | "name": "stdout", |
238 | 238 | "output_type": "stream", |
239 | 239 | "text": [ |
240 | | - "b'Reading config from /home/sarah/temp/ecoextreml/test/input/ZA-Kru_2022-08-03-1541/ZA-Kru_2022-08-03-1541_config.txt\\n\\n The calculations start now \\r\\n The calculations end now \\r'\n", |
241 | | - "/home/sarah/temp/ecoextreml/test/output/ZA-Kru_2022-08-03-1541/ZA-Kru_2022-08-03-1541_STEMMUS_SCOPE.nc\n", |
242 | | - "b'Reading config from /home/sarah/temp/ecoextreml/test/input/AR-SLu_2022-08-03-1541/AR-SLu_2022-08-03-1541_config.txt\\n\\n The calculations start now \\r\\n The calculations end now \\r'\n", |
243 | | - "/home/sarah/temp/ecoextreml/test/output/AR-SLu_2022-08-03-1541/AR-SLu_2022-08-03-1541_STEMMUS_SCOPE.nc\n" |
| 240 | + "b'Opening log file: /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1442//java.log.63885\\nReading config from /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/ZA-Kru_2022-08-08-1442/ZA-Kru_2022-08-08-1442_config.txt\\nThe calculations start now\\nThe calculations end now\\n'\n", |
| 241 | + "/gpfs/scratch1/shared/ecoextreml/stemmus_scope/output/ZA-Kru_2022-08-08-1442/ZA-Kru_2022-08-08-1442_STEMMUS_SCOPE.nc\n", |
| 242 | + "b'Opening log file: /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/AR-SLu_2022-08-08-1442//java.log.403\\nReading config from /gpfs/scratch1/shared/ecoextreml/stemmus_scope/input/AR-SLu_2022-08-08-1442/AR-SLu_2022-08-08-1442_config.txt\\nThe calculations start now\\nThe calculations end now\\n'\n", |
| 243 | + "/gpfs/scratch1/shared/ecoextreml/stemmus_scope/output/AR-SLu_2022-08-08-1442/AR-SLu_2022-08-08-1442_STEMMUS_SCOPE.nc\n" |
244 | 244 | ] |
245 | 245 | } |
246 | 246 | ], |
|
266 | 266 | " print(result)\n", |
267 | 267 | " \n", |
268 | 268 | " # save results in a netcdf file\n", |
269 | | - " nc_file_name = save.to_netcdf(model.config, variables_will_be_in_NetCDF_file)\n", |
| 269 | + " nc_file_name = save.to_netcdf(model.config, required_netcdf_variables)\n", |
270 | 270 | " print(nc_file_name)\n", |
271 | 271 | " " |
272 | 272 | ] |
| 273 | + }, |
| 274 | + { |
| 275 | + "cell_type": "code", |
| 276 | + "execution_count": null, |
| 277 | + "metadata": {}, |
| 278 | + "outputs": [], |
| 279 | + "source": [] |
273 | 280 | } |
274 | 281 | ], |
275 | 282 | "metadata": { |
|
0 commit comments