bug message reminder

When adressing a model crash or bug, please remember to include an entire model setup in your post that reproduces the crash or exposes the bug. Also add the XBlog.txt file. This is necessary information for people that are trying to help you. Including your model setup can be achieved by adding the zipped run directory (excluding output) as an attachment to the post.

Forum

How could I save the final bathymetry?

EL
ELODIE LAFFITTE, modified 4 Years ago.

How could I save the final bathymetry?

Capillary Posts: 15 Join Date: 5/18/15 Recent Posts
Hello!

Sorry if it is a very basic question.

I cut my storm into two parts (on the one hand the erosion, on the oher hand the sandbank coming back).
And I would like to save the final bathymetry of my first part to use it as the initial bathymetry of my second part.

Thanks to the commands :
xbo =xb_read_output(pwd,'vars','zb');
xs=xs_peel(xbo);
bathy_post_tempete=xs.zb;
fid=fopen('bathy_post_tempete.txt','w');
fprintf(fid,' %i\n',bathy_post_tempete);
fclose(fid);

I get a pretty nice text file.. but with all the different bathymetries calculated during all the computation!

How could I get only the final bathymetry? Is it in the last column of my xs.zb? When I try to read it, I can't even see the differents time series...

Thank you !
SM
sweetz mwtey, modified 3 Months ago.

RE: How could I save the final bathymetry?

Capillary Posts: 16 Join Date: 12/4/19 Recent Posts
SM
sweetz mwtey, modified 1 Month ago.

RE: How could I save the final bathymetry?

Capillary Posts: 16 Join Date: 12/4/19 Recent Posts