SOCA
|
Increment fields. More...
Public Member Functions | |
procedure | convert => soca_increment_change_resol |
Change resolution. More... | |
get/set for a single point | |
procedure | getpoint => soca_increment_getpoint |
Get the values at a specific grid point. More... | |
procedure | setpoint => soca_increment_setpoint |
Set the values at a specific grid point. More... | |
atlas I/O | |
procedure | set_atlas => soca_increment_set_atlas |
Setup atlas fields. More... | |
procedure | to_atlas => soca_increment_to_atlas |
Convert the increment to an atlas fieldset. More... | |
procedure | from_atlas => soca_increment_from_atlas |
Set the our increment values from an atlas fieldset. More... | |
math operators | |
procedure | dirac => soca_increment_dirac |
Apply a dirac increment. More... | |
procedure | random => soca_increment_random |
initialize fields with random normal distribution More... | |
procedure | schur => soca_increment_schur |
perform a shur product between two sets of fields More... | |
![]() | |
procedure | create => soca_fields_create |
Create a new set of fields, allocate space for them, and initialize to zero. More... | |
procedure | copy => soca_fields_copy |
Copy the contents of rhs to self . More... | |
procedure | delete => soca_fields_delete |
delete all the fields More... | |
procedure | get => soca_fields_get |
Get a pointer to the soca_field with the given name. More... | |
procedure | has => soca_fields_has |
Returns whether a field with the given name exists. More... | |
procedure | check_congruent => soca_fields_check_congruent |
Make sure two sets of fields are the same shape (same variables, same resolution) More... | |
procedure | check_subset => soca_fields_check_subset |
make sure two sets of fields are the same shape for fields they have in common More... | |
procedure | add => soca_fields_add |
Add two sets of fields together. More... | |
procedure | axpy => soca_fields_axpy |
Add two fields (multiplying the rhs first) More... | |
procedure | dot_prod => soca_fields_dotprod |
Calculate the global dot product of two sets of fields. More... | |
procedure | gpnorm => soca_fields_gpnorm |
calculate global statistics for each field (min, max, average) More... | |
procedure | mul => soca_fields_mul |
Multiply a set of fields by a constant. More... | |
procedure | sub => soca_fields_sub |
subtract two sets of fields More... | |
procedure | ones => soca_fields_ones |
Set the value of all fields to one. More... | |
procedure | zeros => soca_fields_zeros |
Reset the value of all fields to zero. More... | |
procedure | read => soca_fields_read |
read a set of fields from a file More... | |
procedure | write_file => soca_fields_write_file |
Save soca fields to file using fms write_data. More... | |
procedure | write_rst => soca_fields_write_rst |
Save soca fields in a restart format. More... | |
procedure | update_halos => soca_fields_update_halos |
Update the halo region of all fields. More... | |
procedure | colocate => soca_fields_colocate |
Colocate by interpolating from one c-grid location to another. More... | |
procedure | serial_size => soca_fields_serial_size |
Number of elements to return in the serialized array. More... | |
procedure | serialize => soca_fields_serialize |
Return the fields as a serialized array. More... | |
procedure | deserialize => soca_fields_deserialize |
Deserialize, creating fields from a single serialized array. More... | |
Related Functions | |
(Note that these are not member functions.) | |
subroutine | soca_increment_random (self) |
initialize fields with random normal distribution More... | |
subroutine | soca_increment_schur (self, rhs) |
perform a shur product between two sets of fields More... | |
subroutine | soca_increment_getpoint (self, geoiter, values) |
Get the values at a specific grid point. More... | |
subroutine | soca_increment_setpoint (self, geoiter, values) |
Set the values at a specific grid point. More... | |
subroutine | soca_increment_dirac (self, f_conf) |
Apply a dirac increment. More... | |
subroutine | soca_increment_set_atlas (self, geom, vars, afieldset) |
Setup atlas fields. More... | |
subroutine | soca_increment_to_atlas (self, geom, vars, afieldset) |
Convert the increment to an atlas fieldset. More... | |
subroutine | soca_increment_from_atlas (self, geom, vars, afieldset) |
Set the our increment values from an atlas fieldset. More... | |
subroutine | soca_increment_change_resol (self, rhs) |
Change resolution. More... | |
![]() | |
subroutine | soca_fields_init_vars (self, vars) |
For a given list of field names, initialize the properties of those fields. More... | |
subroutine | soca_fields_create (self, geom, vars) |
Create a new set of fields, allocate space for them, and initialize to zero. More... | |
subroutine | soca_fields_delete (self) |
delete all the fields More... | |
subroutine | soca_fields_copy (self, rhs) |
Copy the contents of rhs to self . More... | |
subroutine | soca_fields_get (self, name, field) |
Get a pointer to the soca_field with the given name. More... | |
logical function | soca_fields_has (self, name) |
Returns whether a field with the given name exists. More... | |
subroutine | soca_fields_update_halos (self) |
Update the halo region of all fields. More... | |
subroutine | soca_fields_ones (self) |
Set the value of all fields to one. More... | |
subroutine | soca_fields_zeros (self) |
Reset the value of all fields to zero. More... | |
subroutine | soca_fields_add (self, rhs) |
Add two sets of fields together. More... | |
subroutine | soca_fields_sub (self, rhs) |
subtract two sets of fields More... | |
subroutine | soca_fields_mul (self, zz) |
Multiply a set of fields by a constant. More... | |
subroutine | soca_fields_axpy (self, zz, rhs) |
Add two fields (multiplying the rhs first) More... | |
subroutine | soca_fields_dotprod (self, rhs, zprod) |
Calculate the global dot product of two sets of fields. More... | |
subroutine | soca_fields_read (self, f_conf, vdate) |
read a set of fields from a file More... | |
subroutine | soca_fields_gpnorm (self, nf, pstat) |
calculate global statistics for each field (min, max, average) More... | |
subroutine | soca_fields_check_congruent (self, rhs) |
Make sure two sets of fields are the same shape (same variables, same resolution) More... | |
subroutine | soca_fields_check_subset (self, rhs) |
make sure two sets of fields are the same shape for fields they have in common More... | |
subroutine | soca_fields_write_file (self, filename) |
Save soca fields to file using fms write_data. More... | |
subroutine | soca_fields_write_rst (self, f_conf, vdate) |
Save soca fields in a restart format. More... | |
subroutine | soca_fields_colocate (self, cgridlocout) |
Colocate by interpolating from one c-grid location to another. More... | |
subroutine | soca_fields_serial_size (self, geom, vec_size) |
Number of elements to return in the serialized array. More... | |
subroutine | soca_fields_serialize (self, geom, vec_size, vec) |
Return the fields as a serialized array. More... | |
subroutine | soca_fields_deserialize (self, geom, vec_size, vec, index) |
Deserialize, creating fields from a single serialized array. More... | |
Additional Inherited Members | |
![]() | |
type(soca_geom), pointer | geom => null() |
Pointer to the relevant soca_geom_mod::soca_geom. More... | |
type(soca_field), dimension(:), pointer | fields => null() |
The soca_field instances that make up the fields. More... | |
Increment fields.
Any procedures that are shared with soca_state are implemented in the soca_fields base class
Definition at line 30 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::convert |
Change resolution.
Definition at line 76 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::dirac |
Apply a dirac increment.
Definition at line 64 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::from_atlas |
Set the our increment values from an atlas fieldset.
Definition at line 55 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::getpoint |
Get the values at a specific grid point.
Definition at line 37 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::random |
initialize fields with random normal distribution
Definition at line 67 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::schur |
perform a shur product between two sets of fields
Definition at line 70 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::set_atlas |
Setup atlas fields.
Definition at line 49 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::setpoint |
Set the values at a specific grid point.
Definition at line 40 of file soca_increment_mod.F90.
procedure soca_increment_mod::soca_increment::to_atlas |
Convert the increment to an atlas fieldset.
Definition at line 52 of file soca_increment_mod.F90.
|
related |
Change resolution.
Definition at line 451 of file soca_increment_mod.F90.
|
related |
Apply a dirac increment.
\raises abor1_ftn aborts if there is an error in the input configuration
[in] | f_conf | Configuration |
Definition at line 208 of file soca_increment_mod.F90.
|
related |
Set the our increment values from an atlas fieldset.
Definition at line 392 of file soca_increment_mod.F90.
|
related |
Get the values at a specific grid point.
[in] | geoiter | iterator pointing to desired gridpoint |
[in,out] | values | return values for every field in a vertical column |
Definition at line 149 of file soca_increment_mod.F90.
|
related |
initialize fields with random normal distribution
Definition at line 92 of file soca_increment_mod.F90.
|
related |
perform a shur product between two sets of fields
[in] | rhs | other incrment in schur product |
Definition at line 129 of file soca_increment_mod.F90.
|
related |
Setup atlas fields.
Definition at line 282 of file soca_increment_mod.F90.
|
related |
Set the values at a specific grid point.
[in] | geoiter | iterator pointing to desired gridpoint |
[in] | values | values to set. Values are for for every field in a vertical column |
Definition at line 178 of file soca_increment_mod.F90.
|
related |
Convert the increment to an atlas fieldset.
Definition at line 328 of file soca_increment_mod.F90.