Custom Query (986 matches)
Results (277 - 279 of 986)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#373 | Done | Level of no motion in 4DVar Balance Operator | ||
Description |
The error covariance balance operator was updated to include the options for what state variable to use as a constraints (in the off-diagonal terms), and a level of no motion option when computing the balanced free-surface contribution. Notice that the following new parameters were added to input script External/s4dvar.in: ! Balance operator level of no motion depth (m) used when computing balanced ! free-surface contribution, [1:Ngrids]. LNM_depth == 1000.0d0 ! meters, positive ! Balance operator level of no motion flag used to compute balanced ! free-surface contribution: ! ! [0] Integrate from local bottom to the surface ! [1] Integrate from LNM_depth to surface or integrate from local bottom ! if shallower than LNM_depth ! LNM_flag = 0 ! Balance operator logical switches for state variables to consider in the ! error covariance multivariate constraints. balance(isSalt) = T ! salinity balance(isFsur) = T ! free-sruface balance(isVbar) = F ! 2D momentum (ubar, vbar) balance(isVvel) = T ! 3D momentum (u, v) I also cleaned few things:
|
|||
#374 | Fixed | WARNING: Corrected BUG in scale_factor attribute for input NetCDF files | ||
Description |
WARNING: This is a bug if you scale your data using the NetCDF scale_factor attribute which is used to compress data sometimes. Corrected a bug in get_ngfld.F, get_ngfldr.F, get_2dflf.F, get_2dfldr.F, get_3dfld.F, and get_3dfldr.F. The Fscale(ifield,ng) was rewritten as: ! ! If "scale_factor" attribute is present for a variable, the data are ! to be multiplied by this factor. Check if only water points are ! available. ! IF (foundit) THEN DO i=1,nvatt IF (TRIM(var_Aname(i)).eq.'scale_factor') THEN scale=var_Afloat(i) Fscale(ifield,ng)=Fscale(ifield,ng)*scale ELSE IF (TRIM(var_Aname(i)).eq.'water_points') THEN Iinfo(1,ifield,ng)=-ABS(Iinfo(1,ifield,ng)) Vtype=Iinfo(1,ifield,ng) END IF END DO END IF This was changed to: IF (TRIM(var_Aname(i)).eq.'scale_factor') THEN scale=var_Afloat(i) Finfo(10,ifield,ng)=scale ELSE IF (TRIM(var_Aname(i)).eq.'water_points') THEN END IF So no longer the value of Fscale(ifield,ng) is over-written. The scale value is now stored in Finfo(10,:,ng). This avoided scaling the variable twice by the scale_factor during reading in routines nf_fread*. I apologize that missed this one completely when I tested this part. Many thanks to Brian Powell for bringing this to my attention. |
|||
#375 | Done | Generalized coupled biology and sediment models interface | ||
Description |
I updated the interface for the various ecosystem model in ROMS. This allows a lot of flexibility and customization:
Check any of these files if you are adding a new ecosystem model into ROMS for guidance. Note that all the new ecosystem *.h files are located in ROMS/Nonlinear/Biology and included within <...> to allow the user to customize any of them in the project directory while keeping the distributed code intact (check the build script for details). The input parameters for the NEMURO model were not written in the output NetCDF file before. I missed this one. Also, notice that currently only sediment_inp.h is available for the sediment model. This will change in the future as this model evolves and more input parameters are required. I also fixed couple unbounded local arrays bugs in ecosim.h and the sink tracer indices for the silica group. |