ocnice_prep  1.13.0
All Data Structures Files Functions Variables Pages
arrays_mod.F90 File Reference

Define arrays, dimensions and types. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public arrays_mod::setup_packing (nvalid, vars)
 Count numbers of fields to be remapped for each mapping type and allocate the packed arrays. More...
 

Variables

type(vardefs), dimension(:), allocatable arrays_mod::b2d
 variable metadata for 2D source fields bilinear remap More...
 
type(vardefs), dimension(:), allocatable arrays_mod::b3d
 variable metadata for 3D source fields bilinear remap More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::bilin2d
 packed 2D source fields for bilinear remap More...
 
real(kind=8), dimension(:,:,:), allocatable arrays_mod::bilin3d
 packed 3D source fields for bilinear remap More...
 
type(vardefs), dimension(:), allocatable arrays_mod::c2d
 variable metadata for 2D source fields conservative remap More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::consd2d
 packed 2D source fields for conservative remap More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::eta
 the interface heights (eta) on the source grid More...
 
real(kind=8), parameter arrays_mod::hmin = 1.0d-3
 minimum layer thickness for the ocean More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::mask3d
 the 3D mask of the source fields on Ct grid points More...
 
real(kind=8), parameter arrays_mod::maskspval = 9.9692099683868690d+36
 spval for RH mask values More...
 
integer arrays_mod::nbilin2d
 the number of 2D fields mapped bilinearly More...
 
integer arrays_mod::nbilin3d
 the number of 3D fields mapped bilinearly More...
 
integer arrays_mod::nconsd2d
 the number of 2D fields mapped conservatively More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::rgb2d
 packed 2D fields with bilinear remap More...
 
real(kind=8), dimension(:,:,:), allocatable arrays_mod::rgb3d
 packed 3D fields with bilinear remap More...
 
real(kind=8), dimension(:,:), allocatable arrays_mod::rgc2d
 packed 2D fields with conservative remap More...
 

Detailed Description

Define arrays, dimensions and types.

Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

This module contains arrays and types

Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition in file arrays_mod.F90.

Function/Subroutine Documentation

◆ setup_packing()

subroutine, public arrays_mod::setup_packing ( integer, intent(in)  nvalid,
type(vardefs), dimension(:), intent(inout)  vars 
)

Count numbers of fields to be remapped for each mapping type and allocate the packed arrays.

Parameters
[in,out]varsa structure describing the variable metadata
[in]nvalidthe number of variables provided in the ocean or ice csv file
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 53 of file arrays_mod.F90.

Variable Documentation

◆ b2d

type(vardefs), dimension(:), allocatable arrays_mod::b2d

variable metadata for 2D source fields bilinear remap

Definition at line 28 of file arrays_mod.F90.

◆ b3d

type(vardefs), dimension(:), allocatable arrays_mod::b3d

variable metadata for 3D source fields bilinear remap

Definition at line 30 of file arrays_mod.F90.

◆ bilin2d

real(kind=8), dimension(:,:), allocatable arrays_mod::bilin2d

packed 2D source fields for bilinear remap

Definition at line 23 of file arrays_mod.F90.

◆ bilin3d

real(kind=8), dimension(:,:,:), allocatable arrays_mod::bilin3d

packed 3D source fields for bilinear remap

Definition at line 25 of file arrays_mod.F90.

◆ c2d

type(vardefs), dimension(:), allocatable arrays_mod::c2d

variable metadata for 2D source fields conservative remap

Definition at line 29 of file arrays_mod.F90.

◆ consd2d

real(kind=8), dimension(:,:), allocatable arrays_mod::consd2d

packed 2D source fields for conservative remap

Definition at line 24 of file arrays_mod.F90.

◆ eta

real(kind=8), dimension(:,:), allocatable arrays_mod::eta

the interface heights (eta) on the source grid

Definition at line 41 of file arrays_mod.F90.

◆ hmin

real(kind=8), parameter arrays_mod::hmin = 1.0d-3

minimum layer thickness for the ocean

Definition at line 16 of file arrays_mod.F90.

◆ mask3d

real(kind=8), dimension(:,:), allocatable arrays_mod::mask3d

the 3D mask of the source fields on Ct grid points

Definition at line 38 of file arrays_mod.F90.

◆ maskspval

real(kind=8), parameter arrays_mod::maskspval = 9.9692099683868690d+36

spval for RH mask values

Definition at line 15 of file arrays_mod.F90.

◆ nbilin2d

integer arrays_mod::nbilin2d

the number of 2D fields mapped bilinearly

Definition at line 18 of file arrays_mod.F90.

◆ nbilin3d

integer arrays_mod::nbilin3d

the number of 3D fields mapped bilinearly

Definition at line 19 of file arrays_mod.F90.

◆ nconsd2d

integer arrays_mod::nconsd2d

the number of 2D fields mapped conservatively

Definition at line 20 of file arrays_mod.F90.

◆ rgb2d

real(kind=8), dimension(:,:), allocatable arrays_mod::rgb2d

packed 2D fields with bilinear remap

Definition at line 33 of file arrays_mod.F90.

◆ rgb3d

real(kind=8), dimension(:,:,:), allocatable arrays_mod::rgb3d

packed 3D fields with bilinear remap

Definition at line 35 of file arrays_mod.F90.

◆ rgc2d

real(kind=8), dimension(:,:), allocatable arrays_mod::rgc2d

packed 2D fields with conservative remap

Definition at line 34 of file arrays_mod.F90.