Search found 3 matches

by erikvansebille
Tue Nov 19, 2024 4:38 pm
Forum: ROMS Discussion
Topic: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates
Replies: 10
Views: 23883

Re: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates

Thanks @arango; this is a useful response!

I assume you mean the code at https://github.com/myroms/roms/blob/5a15936cc4a307e3100c52ee209a593b463856e5/ROMS/Nonlinear/step_floats.F#L274-L343? I'll have a closer look at this in the coming days and hopefully can repeat some of the methods you've used ...
by erikvansebille
Tue Nov 19, 2024 12:09 pm
Forum: ROMS Discussion
Topic: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates
Replies: 10
Views: 23883

Re: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates

Thanks @wilkin and @arango, for the quick responses. I had of course seen the wikiroms page and think I understand well how to transform from sigma to z. However, for our Parcels code, I need the reverse transform...

The reason for that is that virtual particles in Parcels 'live' in _physical space ...
by erikvansebille
Mon Nov 18, 2024 8:53 am
Forum: ROMS Discussion
Topic: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates
Replies: 10
Views: 23883

Re: Efficient Methods for Converting ROMS Sigma Coordinates to Z Coordinates

Hi John and others, do you also know if there is a method to calculate sigma from z (so the inverse operation of set_depth.m in roms_matlab)?

We need that for an under-the-hood implementation of ROMS (and CROCO) in our http://OceanParcels.org code. See https://github.com/OceanParcels/Parcels ...