[ecco-support] Question about the Salinity budget

Fenty, Ian G (329C) Ian.Fenty at jpl.nasa.gov
Mon Jun 4 15:57:50 EDT 2018


Dear Michael,

To calculate the integral of salinity advection terms at the horizontal boundary of a control volume you do not need to convert to meridional and zonal directions.  You can simply use the model’s x and y directions.  In the mid-latitudes and tropics the model uses a lat-lon grid so the model’s x and y directions line up with meridians and parallels.  At higher latitudes the model grid rotates.

If you must do your calculations in areas that are defined with zonal and meridional boundaries you will lose some accuracy in some places but you will still be able to distinguish the dominant terms.  Of course, you will also need to rotate the x and y flux terms to the zonal and meridional directions.  To rotate terms follow this recipe:

Input:
F_u : some model output field in model’s ‘x’ or ‘u’ direction (generally NOT zonal) such as ADVx_SLT
F_v:  some model output field in model’s ‘y’ or ‘v’ direction (generally NOT meridional) such as ADVy_SLT

angleCs :  cosine of the grid cell rotation angle
angleSn  :  sine of the grid cell rotation angle

Output:
F_zonal           = F_u * angleCos – F_v * angleSin
F_meridional = F_u * angleSin + F_v * angleCos


Again, if you rotate your fluxes in this way your budgets will only be approximate and will not close perfectly.  It is a trade-off between convenience and accuracy.

The angleCos and angleSin fileds are available in the available in the GRID.00XX.nc files
ftp://ecco.jpl.nasa.gov/Version4/Release3/nctiles_grid/

-Ian





From: <ecco-support-bounces at mit.edu> on behalf of Ligc <liguancheng15 at mails.ucas.ac.cn>
Reply-To: "ECCO support list, wider membership" <ecco-support at mit.edu>
Date: Thursday, May 17, 2018 at 9:33 AM
To: "ecco-support at mit.edu" <ecco-support at mit.edu>
Subject: [ecco-support] Question about the Salinity budget

Dear sir/madam,
      Thanks for your careful reply. I just want to calculate the integral of salinity advection terms at the horizontal boundary of the control volume at a certain depth, so i should convert the variables along the model's x-and y- direction into that along the meridional and zonal direction. But, there are two technical questions i can't deal with.
First, i used the initial grid data, like DXG, DYG, DRF, and RAC to evaluate their specific areas along the model's direction. But, how can i calculate a new area along the meridional or zonal direction for the the converted variables (by function "calc_UEVNfromUXVY").
        Then, i wanted to confine a latitude as its boundary and calculate the advection terms along northern direction based on such an irregular grid in an effective way, could you give me some suggestion?
    Thank you for your kindness again!

Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/ecco-support/attachments/20180604/5ab7af57/attachment.html


More information about the ecco-support mailing list