Re: ocean bottom topography mask

From: Ioana Colfescu <colfescu_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 23 2014 - 21:58:24 MST

Thanks !
I ll have a look,might be useful. What I want to do is to calculate the
total heat flux from the ocean ( got it with residual method subtracting
from atmospheric fluxes) but I would need it from the ocean - integral
of v*potentialtemp too to check something.
I needed heat flux for individual basins and I used basin divisions like :

; Indian ocean basin
  do j = 0, nlat-1
    do i = 0, nlon-1
      if (oro(j,i).eq.0) then
        if ((lon(i).gt.60.0 .and. lon(i).lt.100.0 .and. \
           lat(j).lt. 25.0 .and. lat(j).gt. 20.0) .or. \
          (lon(i).gt. 45.0 .and. lon(i).lt.100.0 .and. \
           lat(j).le. 20.0 .and. lat(j).gt. 0.0) .or. \
          (lon(i).ge. 25.0 .and. lon(i).lt.100.0 .and. \
           lat(j).le. 0.0 .and. lat(j).gt. -5.0) .or. \
          (lon(i).ge. 25.0 .and. lon(i).le.130.0 .and. \
           lat(j).le. -5.0)) then
          basins_mask(j,i) = 3 ; indian
        end if
      end if
    end do
  end do

Now when I try to apply this for a depth X in the ocean each depth has a
different array of longitudes I should specify ( + for every ocean basin
) and the mask that worked for surface doesn't work anymore.
I have the temperature/velocity at each level but I can't figure out how
to make the summation correct only for the depths I need without a
specific mask for each level.

On 1/23/14, 11:41 PM, Dennis Shea wrote:
> To my knowledge, NCL does not have what you want built-in.
> Also, you did not specify what resolution you are looking for.
>
> ---
>
> NCL' built-in land-sea mask is at 1 degree.
>
> --
>
> Here are some file you may find useful.
>
>
> ftp ftp.cgd.ucar.edu
> anonymous
> email
> prompt
> cd pub/shea/Misc
> mget POP_TGRID*
> get ETOPO2_GLOBAL_2_ELEVATION.nc
> quit
>
>
> 116738184 Jan 23 20:53 ETOPO2_GLOBAL_2_ELEVATION.nc
> 172801612 Jan 23 21:27 POP_TGRID.2400x3600.nc
> 4425540 Jan 23 21:27 POP_TGRID.320x384.nc
>
>
> The ETOP02 file contains 2-minute elevations
> The POP_TGRID files provide ocean basin mask and depth
> used for the POP ocean model.
>
> POP_TGRID.2400x3600.nc is about 0.1 deg resolution
> POP_TGRID.320x384.nc is about 1 deg resolution
>
> see: http://www.ncl.ucar.edu/Applications/pop.shtml
>
>
>
> ---
>
>
> On 1/23/14, 8:26 PM, Ioana Colfescu wrote:
>>
>> Hi,
>>
>> Is there any map/function in NCL that could give you a mask that of the
>> ocean bottom topography ?
>> There are functions for masking land/sea , is there any such function or
>> way to get a sort of 3d mask that has the ocean mask + bottom topography
>> of the ocean too ?
>> thanks,
>>
>> Ioana
>>
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jan 23 21:58:40 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST