Page MenuHomec4science

definitions.py
No OneTemporary

File Metadata

Created
Wed, Mar 12, 02:16

definitions.py

from __future__ import division, print_function
###########################################################################
# #
# Copyright 2017 Andrea Cimatoribus #
# EPFL ENAC IIE ECOL #
# GR A1 435 (Batiment GR) #
# Station 2 #
# CH-1015 Lausanne #
# Andrea.Cimatoribus@epfl.ch #
# #
# This file is part of ctracker #
# #
# ctracker is free software: you can redistribute it and/or modify it #
# under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# ctracker is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty #
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #
# See the GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with ctracker. If not, see <http://www.gnu.org/licenses/>. #
# #
###########################################################################
#
# MITgcm results description
#
# Directory containing the hydrodynamics fields
gcm_directory = "/home/cimatori/Work/mitgcm/lac_leman/run_2016"
# u-velocity filename root
u_root = "UVEL"
# v-velocity filename root
v_root = "VVEL"
# w-velocity filename root
w_root = "WVEL"
# output data type (">f8" for double precision, ">f4" for single)
out_prec = ">f4"
# grid geometry used in the MITgcm simulation
gcm_geometry = "curvilinear"
# reference date of MITgcm simulation
gcm_start = "2013-11-12 12:00"
# MITgcm time step in seconds
gcm_dt = 20.0
# MITgcm output time step in seconds
out_dt = 1800.0
#
# Simulation configuration
#
# file name for output (netcdf)
outfile = "/tmp/test.nc"
# start date of particle tracking simulation
start = "2015-12-12 12:30"
# end date of particle tracking simulation
end = "2015-12-13 12:30"
# list of seed points coordinates
x_seed = [553319.0]
y_seed = [137896.0]
z_seed = [2.5]
# if inds_seed is True, x_seed, y_seed and z_seed are
# given in terms of (fractional) indices, otherwise they
# are interpreted as being in the same units as the MITgcm grid
inds_seed = False
# Note that seeding only takes place at the GCM output time
# If you pass the wrong time, no seeding will take place.
# seeding start time
seed_start = "2015-12-12 12:30"
# seeding end time
seed_end = "2015-12-12 12:31"
# seeding interval in seconds
seed_interval = 1800

Event Timeline