Custom Query (986 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (934 - 936 of 986)

Ticket Owner Reporter Resolution Summary
#826 arango Done Updated svn properties to few files
Description

Added svn properties and Id to few files to fix few issues in the git repository.

#850 dcherian Fixed checking LBC_ATT for salinity when salinity is undefined
Description

I'm having trouble restarting a simulation run with #undef SALINITY because the code is unnecessarily checking LBC_ATT for salt. The input file is actually consistent so I don't know why it's raising an error. But it shouldn't be checking this anyway...

LBC_GETATT - inconsistent western  lateral boundary condition for variable:   salt
              restart file LBC keyword =  RadNud
              but assigned structure switch:  S(1, 7,1)%radiation = F
              check input script LBC keyword for consitency ...
              restart file:  ocean_rst.nc

 LBC_GETATT - inconsistent southern lateral boundary condition for variable:   salt
              restart file LBC keyword =  Per
              but assigned structure switch:  S(2, 7,1)%periodic = F
              check input script LBC keyword for consitency ...
              restart file:  ocean_rst.nc

 LBC_GETATT - inconsistent eastern  lateral boundary condition for variable:   salt
              restart file LBC keyword =  Clo
              but assigned structure switch:  S(3, 7,1)%closed = F
              check input script LBC keyword for consitency ...
              restart file:  ocean_rst.nc

 LBC_GETATT - inconsistent northern lateral boundary condition for variable:   salt
              restart file LBC keyword =  Per
              but assigned structure switch:  S(4, 7,1)%periodic = F
              check input script LBC keyword for consitency ...
              restart file:  ocean_rst.nc

Everything works perfectly with #define NO_LBC_ATT

#859 tviti3 Fixed Possible typo in coarse2fine.m?
Description

Was trying to use coarse2fine in MATLAB R2020a to nest in a synthetic model, and encountered the following error:

Error using griddedInterpolant/parenReference
The number of input coordinate arrays must match the dimensions of the sample values.

Error in coarse2fine (line 372)
      RCu.Values = C.y_u(:);   F.y_u = RCu(XuF, YuF);

Wound up making the following modification to get it working:

  diff --git a/grid/coarse2fine.m b/grid/coarse2fine.m
  index af3c1db..9c5ad5b 100644
  --- a/grid/coarse2fine.m
  +++ b/grid/coarse2fine.m
  @@ -369,7 +369,7 @@ if (got.x_u && got.y_u) || (got.lon_u && got.lat_u)
         RCu = griddedInterpolant(XuC, YuC, C.x_u, method);

                                  F.x_u = RCu(XuF, YuF);
  -      RCu.Values = C.y_u(:);   F.y_u = RCu(XuF, YuF);
  +      RCu.Values = C.y_u;   F.y_u = RCu(XuF, YuF);
       else
         F.x_u = interp2(XuC', YuC', C.x_u', XuF, YuF, method);
         F.y_u = interp2(XuC', YuC', C.y_u', XuF, YuF, method);

What's weird though is that I've used this before on this same model, and don't remember having to make this change. This may have been on an older version on MATLAB though, and I'm not sure if the behaviour of griddedInterpolant has changed in 2020a.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.