waternumbers / dynatop

Dynamic TOPMODEL
https://waternumbers.github.io/dynatop/
4 stars 6 forks source link

Running simulation #16

Closed octopusann closed 4 years ago

octopusann commented 4 years ago

Running on Rstudio running R 3.6.0 on Scientific Linux 7

Line 123 of simulate_model hangs up. I left it over the weekend and it still hadn't run. It seems to be trying to Reprofile. Had to resort to switching off and rebooting to get out of it.

Reran today JUST the simulation line nothing after an hour.

No error messages to report.

octopusann commented 4 years ago

Tried changing the Initial_recharge value but that didn't help.

waternumbers commented 4 years ago

Please attach script (or copy section) so I know exactly what the command is

octopusann commented 4 years ago

I thought that’s what I’d done. It’s just not letting me install either dynatopGIS or dynatop under Windows.

Dr. Ann Kretzschmar Senior Research Associate Q-NFM

B505 LEC 1

Lancaster Environment Centre Lancaster University LA1 4YQ

From: Paul Smith notifications@github.com Sent: 17 October 2019 11:57 To: waternumbers/dynatop dynatop@noreply.github.com Cc: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk; Author author@noreply.github.com Subject: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

This email originated from outside of the University. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Please attach script (or copy section) so I know exactly what the command is

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwaternumbers%2Fdynatop%2Fissues%2F16%3Femail_source%3Dnotifications%26email_token%3DADG6OVWMY5R3A43RHMXLN6LQPBAGBA5CNFSM4JBIXBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPVYHY%23issuecomment-543120415&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7Cf3838975f87c42124a6e08d752f0ae21%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069065969409828&sdata=bUUyQdCT4xaIw%2FfH%2FhbvvcO%2BJhr57gqGmiOvQA1Uexg%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6OVXFVPRLMLE66OZM353QPBAGBANCNFSM4JBIXBDA&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7Cf3838975f87c42124a6e08d752f0ae21%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069065969419786&sdata=zV23Ry%2FDLAuWFQc6RfeB%2FKhGTY7NAQXu0qStVXALXrI%3D&reserved=0.

waternumbers commented 4 years ago

Can't see an attachment on this - think your comment above is about a different issue.

octopusann commented 4 years ago

Just hung the machine up trying to get you a screenshot! I think may have spotted the problem though - possibly. The parameters are all still set to default! Will check it out once the machine unlocks. Might have to crash it out and start again.

Dr. Ann Kretzschmar

Lancaster Environment Centre

Lancaster University

LA1 4YQ

kretzsch@exchange.lancs.ac.ukmailto:kretzsch@exchange.lancs.ac.uk

octopusann@me.commailto:octopusann@me.com

mobile: 07775-968315


From: Paul Smith notifications@github.com Sent: 17 October 2019 12:08 To: waternumbers/dynatop dynatop@noreply.github.com Cc: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk; Author author@noreply.github.com Subject: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

This email originated from outside of the University. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Can't see an attachment on this - think your comment above is about a different issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwaternumbers%2Fdynatop%2Fissues%2F16%3Femail_source%3Dnotifications%26email_token%3DADG6OVRQGRGLCQDIGB3YCHTQPBBS7A5CNFSM4JBIXBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPWXDY%23issuecomment-543124367&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C705e737f81ea42fdc35408d752f25b0f%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069073170834790&sdata=yXa6J%2BtmplaFJq700RFrn4BEggynHrla8gmwN9XxUKU%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6OVRMXBROQPNHJCISYGDQPBBS7ANCNFSM4JBIXBDA&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C705e737f81ea42fdc35408d752f25b0f%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069073170834790&sdata=B44w3xW4iv61GlmqZTgFIbI7eQBpKwWBz9MF7z%2FgKjk%3D&reserved=0.

octopusann commented 4 years ago

initial_recharge <- as.numeric(obs[1,"discharge_xts"])*3600/sum(model$hillslope$area)

start logging to see look at performance

Rprof("Simulation_perf_kent_4.out")

simulate the model - not very quick...

hillslope_out <- dynatop(model,in_obs[1:1000,],initial_recharge) Rprof(NULL)

its a section from your sample script. When I run it, it just sits and looks at me! This is the model (assuming the screenshot worked!) Screenshot from 2019-10-17 13-38-51

octopusann commented 4 years ago

OK had lunch and I see now that the parameters do have values! screenshot of model sent.

Dr. Ann Kretzschmar

Lancaster Environment Centre

Lancaster University

LA1 4YQ

kretzsch@exchange.lancs.ac.ukmailto:kretzsch@exchange.lancs.ac.uk

octopusann@me.commailto:octopusann@me.com

mobile: 07775-968315


From: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk Sent: 17 October 2019 12:26 To: waternumbers/dynatop reply@reply.github.com Subject: Re: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

Just hung the machine up trying to get you a screenshot! I think may have spotted the problem though - possibly. The parameters are all still set to default! Will check it out once the machine unlocks. Might have to crash it out and start again.

Dr. Ann Kretzschmar

Lancaster Environment Centre

Lancaster University

LA1 4YQ

kretzsch@exchange.lancs.ac.ukmailto:kretzsch@exchange.lancs.ac.uk

octopusann@me.commailto:octopusann@me.com

mobile: 07775-968315


From: Paul Smith notifications@github.com Sent: 17 October 2019 12:08 To: waternumbers/dynatop dynatop@noreply.github.com Cc: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk; Author author@noreply.github.com Subject: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

This email originated from outside of the University. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Can't see an attachment on this - think your comment above is about a different issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwaternumbers%2Fdynatop%2Fissues%2F16%3Femail_source%3Dnotifications%26email_token%3DADG6OVRQGRGLCQDIGB3YCHTQPBBS7A5CNFSM4JBIXBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPWXDY%23issuecomment-543124367&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C705e737f81ea42fdc35408d752f25b0f%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069073170834790&sdata=yXa6J%2BtmplaFJq700RFrn4BEggynHrla8gmwN9XxUKU%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6OVRMXBROQPNHJCISYGDQPBBS7ANCNFSM4JBIXBDA&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C705e737f81ea42fdc35408d752f25b0f%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069073170834790&sdata=B44w3xW4iv61GlmqZTgFIbI7eQBpKwWBz9MF7z%2FgKjk%3D&reserved=0.

waternumbers commented 4 years ago

Assuming this is the Kent example it sits and looks at me for about 24hr as well (I removed the printing of time steps). If you want to see if it is running see if the file Simulation_perf_kent_4.out is growing in size.

octopusann commented 4 years ago

It is. Did you actually get any results? Where does the perf file get written to?

Dr. Ann Kretzschmar

Lancaster Environment Centre

Lancaster University

LA1 4YQ

kretzsch@exchange.lancs.ac.ukmailto:kretzsch@exchange.lancs.ac.uk

octopusann@me.commailto:octopusann@me.com

mobile: 07775-968315


From: Paul Smith notifications@github.com Sent: 17 October 2019 13:44 To: waternumbers/dynatop dynatop@noreply.github.com Cc: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk; Author author@noreply.github.com Subject: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

This email originated from outside of the University. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Assuming this is the Kent example it sits and looks at me for about 24hr as well (I removed the printing of time steps). If you want to see if it is running see if the file Simulation_perf_kent_4.out is growing in size.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwaternumbers%2Fdynatop%2Fissues%2F16%3Femail_source%3Dnotifications%26email_token%3DADG6OVQVKGF7N257KKNOXSTQPBM4LA5CNFSM4JBIXBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBP6WXI%23issuecomment-543157085&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C5686f7d98d8b4400c55508d752ffd0b1%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069130980457959&sdata=oNI3JChCVvcBKenklt7d9YSDou8jVigpEjamR14Bctg%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6OVSOC2R4RAG3Y42ERSDQPBM4LANCNFSM4JBIXBDA&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C5686f7d98d8b4400c55508d752ffd0b1%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069130980457959&sdata=N8o6Bpdz9%2F7KJvMcCDOiejQXd5m2J31ZhMPvS1vB1eA%3D&reserved=0.

waternumbers commented 4 years ago

Yes but not rerun with the corrected rainfall. Doesn't generate a file of performance (if that is what you mean). The file generated by Rprof() is for profiling purposes.

Closing this issue since the model is in fact running. If you find it appears to stop (inc the log file not growing) then please reopen.

octopusann commented 4 years ago

Sorry confused. What log file?

Dr. Ann Kretzschmar

Lancaster Environment Centre

Lancaster University

LA1 4YQ

kretzsch@exchange.lancs.ac.ukmailto:kretzsch@exchange.lancs.ac.uk

octopusann@me.commailto:octopusann@me.com

mobile: 07775-968315


From: Paul Smith notifications@github.com Sent: 17 October 2019 14:09 To: waternumbers/dynatop dynatop@noreply.github.com Cc: Kretzschmar, Ann a.kretzschmar@lancaster.ac.uk; Author author@noreply.github.com Subject: [External Sender] Re: [waternumbers/dynatop] Running simulation (#16)

This email originated from outside of the University. Do not click links or open attachments unless you recognise the sender and know the content is safe.

Yes but not rerun with the corrected rainfall. Doesn't generate a file of performance (if that is what you mean). The file generated by Rprof() is for profiling purposes.

Closing this issue since the model is in fact running. If you find it appears to stop (inc the log file not growing) then please reopen.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwaternumbers%2Fdynatop%2Fissues%2F16%3Femail_source%3Dnotifications%26email_token%3DADG6OVQCEKAVK5EQFPRCDI3QPBPX7A5CNFSM4JBIXBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBQBDGA%23issuecomment-543166872&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C75ac6d2136f9464e4eb508d753033aa9%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069145644111940&sdata=Vxd95VU1bmxhuLVxr8IGgqBR6fUAyF9eWwfVXQEpWpI%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6OVXDRB6FQ5IYKJZGQTLQPBPX7ANCNFSM4JBIXBDA&data=02%7C01%7Ca.kretzschmar%40lancaster.ac.uk%7C75ac6d2136f9464e4eb508d753033aa9%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637069145644121937&sdata=TfgyOpUEBRsJA8cuPuHypp0mj9TZ63cUDkulHG03FXg%3D&reserved=0.