Coder Social home page Coder Social logo

Comments (15)

feiye-vims avatar feiye-vims commented on June 27, 2024 1

I think that means all modes of the first open bnd are dry. This could be related to DEM interpolation. You may want to check the depths of those nodes in the hgrid.

from schism.

feiye-vims avatar feiye-vims commented on June 27, 2024

Hi Soroosh,

This means one of your open boundaries is completely dry.

Fei

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

Thank you @feiye-vims, that's strange because I didn't really change my meshing (subsetting) method. Could this be related to interpolating DEMs on my mesh if you have to guess?

Also which nodes should I look at the first nodes of the first open boundary segment? Based on ndx=1?

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

This is very odd, the first couple of elevations in the boundary (from hgrid.grd file) are (coordinates comments manually added for easier read):

1 ! total number of ocean boundaries
268 ! total number of ocean boundary nodes
268 ! number of nodes for ocean_boundary_0
249994 ! -59.99968778 43.43439751 1003.01256100
250403 ! -59.99994778 43.37117561 1240.92041020
250797 ! -59.99979179 43.29860084 1584.45312500
251209 ! -59.99981273 43.18319423 2014.39843750
.
.
.

And since the elevation is positive down, these already should be wet, right?

from schism.

feiye-vims avatar feiye-vims commented on June 27, 2024

Yes.

Did the crash happen at the first time step?

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

It seems to be happening during the second timestep:

 time stepping begins...           1        1152
 before GetGAHMFields
 maxTrackRecords:          170
 Working on time frame:    150.000000000000     
 Requested output time:    150.000000000000      
 , skipping generating data for this time;   151200.000000000     
   172800.000000000        194400.000000000        216000.000000000     
   237600.000000000        259200.000000000        280800.000000000     
   302400.000000000        324000.000000000        345600.000000000     
   367200.000000000        388800.000000000        410400.000000000     
   432000.000000000        453600.000000000        475200.000000000     
   496800.000000000        518400.000000000        540000.000000000     
   561600.000000000        583200.000000000        604800.000000000     
   626400.000000000        648000.000000000        669600.000000000     
   691200.000000000        712800.000000000        734400.000000000     
   756000.000000000        777600.000000000        799200.000000000     
   820800.000000000        842400.000000000        864000.000000000     
   885600.000000000        907200.000000000        928800.000000000     
   950400.000000000        972000.000000000        993600.000000000     
   1015200.00000000        1036800.00000000        1058400.00000000     
   1080000.00000000        1101600.00000000        1123200.00000000     
   1144800.00000000        1166400.00000000        1188000.00000000     
   1209600.00000000        1231200.00000000        1252800.00000000     
   1274400.00000000        1296000.00000000        1317600.00000000     
   1339200.00000000        1360800.00000000        1382400.00000000     
   1404000.00000000        1425600.00000000        1447200.00000000     
   1465200.00000000        1468800.00000000        1490400.00000000     
   1512000.00000000        1533600.00000000        1555200.00000000     
   1576800.00000000        1598400.00000000        1620000.00000000     
   1641600.00000000        1663200.00000000        1684800.00000000     
   1706400.00000000        1728000.00000000        1749600.00000000     
   1771200.00000000        1792800.00000000        1814400.00000000     
 after GetGAHMFields
 done adjusting wind stress ...
 done flow b.c.
 done hvis... 
 done backtracking
 done 1st preparation
 done 2nd preparation
 done solver; etatot=   300570572.613247      ; average |eta|=
   538.075471512410     
 done solving momentum eq...
 done solving w
 done solving transport equation
 done recomputing levels...
 done density and flux calculation...
TIME STEP=            1;  TIME=           150.000000
 before GetGAHMFields
 Working on time frame:    300.000000000000     
 Requested output time:    300.000000000000      
 , skipping generating data for this time;   151200.000000000     
   172800.000000000        194400.000000000        216000.000000000     
   237600.000000000        259200.000000000        280800.000000000     
   302400.000000000        324000.000000000        345600.000000000     
   367200.000000000        388800.000000000        410400.000000000     
   432000.000000000        453600.000000000        475200.000000000     
   496800.000000000        518400.000000000        540000.000000000     
   561600.000000000        583200.000000000        604800.000000000     
   626400.000000000        648000.000000000        669600.000000000     
   691200.000000000        712800.000000000        734400.000000000     
   756000.000000000        777600.000000000        799200.000000000     
   820800.000000000        842400.000000000        864000.000000000     
   885600.000000000        907200.000000000        928800.000000000     
   950400.000000000        972000.000000000        993600.000000000     
   1015200.00000000        1036800.00000000        1058400.00000000     
   1080000.00000000        1101600.00000000        1123200.00000000     
   1144800.00000000        1166400.00000000        1188000.00000000     
   1209600.00000000        1231200.00000000        1252800.00000000     
   1274400.00000000        1296000.00000000        1317600.00000000     
   1339200.00000000        1360800.00000000        1382400.00000000     
   1404000.00000000        1425600.00000000        1447200.00000000     
   1465200.00000000        1468800.00000000        1490400.00000000     
   1512000.00000000        1533600.00000000        1555200.00000000     
   1576800.00000000        1598400.00000000        1620000.00000000     
   1641600.00000000        1663200.00000000        1684800.00000000     
   1706400.00000000        1728000.00000000        1749600.00000000     
   1771200.00000000        1792800.00000000        1814400.00000000     
 after GetGAHMFields
 done adjusting wind stress ...

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

I turned off meteo forcing (by setting nws=0), but I still run into the same error:

102: ABORT:  STEP: wetted cross section length on open bnd <=0; boundary ndx=           1 , length=  0.000000000000000E+000
 time stepping begins...           1        1152              
 done adjusting wind stress ...                               
 done flow b.c.                                               
 done hvis...                                                 
 done backtracking                                            
 done 1st preparation                                         
 done 2nd preparation                                         
 done solver; etatot=   300570572.613247      ; average |eta|=
   538.075471512410                                           
 done solving momentum eq...                                  
 done solving w                                               
 done solving transport equation                              
 done recomputing levels...                                   
 done density and flux calculation...                         
TIME STEP=            1;  TIME=           150.000000          
 done adjusting wind stress ...                               

Now that I know approximately where I should look for the issue, let me spend some more time on my own to see if I can get more info about why it's erroring out. Maybe it's something very simple that I'm missing ...

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

@josephzhang8 @feiye-vims, I'd like to take you up on your kind offer to pass the setup that fails for me to you for help. You can download it from here:
https://drive.google.com/file/d/1TgiTBEj--WqfAmKYy9Zk4A5gJCHg8OCZ/view?usp=sharing

Thanks again

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

josephzhang8 avatar josephzhang8 commented on June 27, 2024

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

Thank you @josephzhang8! I use pyschism through coupledmodeldriver to setup the model. I can try a basic script directly in pyschism and if I see the same problem, maybe this issue can be moved to pyschism repo.

While I'm testing, @cuill do you know if anything related to default elevation IC has changed in recent versions of pyschism?

from schism.

cuill avatar cuill commented on June 27, 2024

@SorooshMani-NOAA Yes, I made changes for elev_ic, which uses the original depth info from hgrid.gr3 not reversed values.

branch 5b5ded0d98ffb0776a1a99538cb33f99d1ffa1a8

from schism.

SorooshMani-NOAA avatar SorooshMani-NOAA commented on June 27, 2024

OK I see, I'll update the client scripts then, thanks!

from schism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.