beatrixparis / connectivity-modeling-system

The CMS is a multiscale stochastic Lagrangian framework developed by Paris' Lab at the Rosenstiel School of Marine, Atmospheric & Earth Science to study complex behaviors, giving probabilistic estimates of dispersion, connectivity, fate of pollutants, and other Lagrangian phenomena. This repository facilitates community contributions to CMS modules
https://beatrixparis.github.io/connectivity-modeling-system/
GNU General Public License v3.0
31 stars 25 forks source link

IEEE_DIVIDE_BY_ZERO #26

Closed shilpafiji closed 6 years ago

shilpafiji commented 6 years ago

hi,

I am trying to do a simulation of fish larvae using the vertical migration option. My release depth is 1m. and my vertical matrix is as follows:

3 2 10 50 1728000 1728000 2073600 100 0 100 0 100 0

when execute the cms run, I get an error saying " Depth in release file is greater than depths in vert_matrix file Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO"

But, the depths in my release file are not greater than the depths in the vert_matrix file. Why do I get this error? What should I do?

Here's what I got: ~/cms/connectivity-modeling-system-master/cms-master/expt $ ./cms 280915 ibiotimestep 300

File name : traj_file_1.nc Total number release locations : 54 (1 to 54) Total number of particles released : 5400 Total number of time steps : 18757 Total number of time steps in output file: 1561 Depth in release file is greater than depths in vert_matrix file Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO

Thanks shilpafiji

beatrixparis commented 6 years ago

Hello Shilpafiji

Your vertical matrix file looks ok. Can you please send me your release file?

Thanks!

Claire Beatrix Paris —Sent from iPhone


From: shilpafiji notifications@github.com Sent: Saturday, March 3, 2018 6:11:11 PM To: beatrixparis/connectivity-modeling-system Cc: Subscribed Subject: [beatrixparis/connectivity-modeling-system] IEEE_DIVIDE_BY_ZERO (#26)

hi,

I am trying to do a simulation of fish larvae using the vertical migration option. My release depth is 1m. and my vertical matrix is as follows:

3 2 10 50 1728000 1728000 2073600 100 0 100 0 100 0

when execute the cms run, I get an error saying " Depth in release file is greater than depths in vert_matrix file Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO"

But, the depths in my release file are not greater than the depths in the vert_matrix file. Why do I get this error? What should I do?

Here's what I got: ~/cms/connectivity-modeling-system-master/cms-master/expt $ ./cms 280915 ibiotimestep 300

File name : traj_file_1.nc Total number release locations : 54 (1 to 54) Total number of particles released : 5400 Total number of time steps : 18757 Total number of time steps in output file: 1561 Depth in release file is greater than depths in vert_matrix file Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO

Thanks shilpafiji

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbeatrixparis%2Fconnectivity-modeling-system%2Fissues%2F26&data=02%7C01%7Ccparis%40rsmas.miami.edu%7C69d1a096493a4f47cc7608d5815c0ea8%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C636557154740784265&sdata=yFAi2Zx5adhltEh7OYjRZB5kHx%2B1E7lCQRmcKG9f48g%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALOv5J2tSMqDQrvZLM2s3lZUh0IlvjLoks5tayMPgaJpZM4SbHwL&data=02%7C01%7Ccparis%40rsmas.miami.edu%7C69d1a096493a4f47cc7608d5815c0ea8%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C636557154740784265&sdata=6HLfY%2F%2FG7JF%2FV9NOUDuoqM0Aw3izNnGmJbhuAICoiJw%3D&reserved=0.

shilpafiji commented 6 years ago

releaseFile0928151m.txt

Thanks Shilpa

shilpafiji commented 6 years ago

The issue is solved by having greater depths in the vertical matrix file. Here's the new vertical matrix file that I made and it works!

3 3 10 50 200 1728000 1728000 2073600 100 0 100 0 100 0 0 0 0

Thanks Shilpa