ATMI - Atmospheric Impact Simulation
Loading...
Searching...
No Matches
Variables
amdaterun Namespace Reference

Variables

 args = f.readlines()
 
 conf_file = sys.argv[1]
 Reading the configuration file.
 
 d
 
 data = netCDFutils.data(datafiles[i])
 
list data_loc_time = datas[0].dataset.sel(time=dates, longitude=lon, latitude=lat, method='nearest')
 
 datafiles = datafiles.split(',')
 
list datas = []
 Initializing the realizations.
 
str date = str(y)+'_'+str(m)+'_'+str(d)+'_'+str(h)
 
list dates = []
 
 dates_df = pd.read_csv(dates_file, names=['Year','Month','Day','Hour'])
 
 dates_file
 
 desc
 
 DIR = file.readline().strip('\n')
 
 file = open(DIR+'/am/config/'+filename+'.txt', 'w')
 Saving all the configuration files.
 
 filename
 
 final_dates = np.array(final_dates)
 
 freq_interval
 
 freq_start
 
 freq_stop
 
 h
 
 lat
 
 lon
 
 m
 
 N = int(N)
 
 names = data.variables()
 
 P
 
 P0
 
 paramsfile
 
 PWV
 
 pwv
 
 realizations = pd.DataFrame(variables)
 
 starting_dates = np.array(starting_dates)
 
 T
 
 T0
 
 var = var.split(',')
 
dict variables
 
 y
 
list ymdh = [dates_df['Year'][i], dates_df['Month'][i], dates_df['Day'][i], dates_df['Hour'][i]]
 
 Z
 

Variable Documentation

◆ args

list args = f.readlines()

◆ conf_file

conf_file = sys.argv[1]

Reading the configuration file.

◆ d

d

◆ data

data = netCDFutils.data(datafiles[i])

◆ data_loc_time

list data_loc_time = datas[0].dataset.sel(time=dates, longitude=lon, latitude=lat, method='nearest')

◆ datafiles

datafiles = datafiles.split(',')

◆ datas

list datas = []

Initializing the realizations.

◆ date

str date = str(y)+'_'+str(m)+'_'+str(d)+'_'+str(h)

◆ dates

dates = []

◆ dates_df

dates_df = pd.read_csv(dates_file, names=['Year','Month','Day','Hour'])

◆ dates_file

dates_file

◆ desc

desc

◆ DIR

DIR = file.readline().strip('\n')

◆ file

file = open(DIR+'/am/config/'+filename+'.txt', 'w')

Saving all the configuration files.

◆ filename

filename

◆ final_dates

final_dates = np.array(final_dates)

◆ freq_interval

freq_interval

◆ freq_start

freq_start

◆ freq_stop

freq_stop

◆ h

h

◆ lat

lat

◆ lon

lon

◆ m

m

◆ N

N = int(N)

◆ names

names = data.variables()

◆ P

P

◆ P0

P0

◆ paramsfile

paramsfile

◆ PWV

PWV

◆ pwv

pwv

◆ realizations

realizations = pd.DataFrame(variables)

◆ starting_dates

starting_dates = np.array(starting_dates)

◆ T

T

◆ T0

T0

◆ var

var = var.split(',')

◆ variables

dict variables
Initial value:
1= {'year': pd.to_datetime(data_loc_time['time'].values).year,
2 'month': pd.to_datetime(data_loc_time['time'].values).month,
3 'day': pd.to_datetime(data_loc_time['time'].values).day,
4 'hour': pd.to_datetime(data_loc_time['time'].values).hour
5 }

◆ y

y

◆ ymdh

list ymdh = [dates_df['Year'][i], dates_df['Month'][i], dates_df['Day'][i], dates_df['Hour'][i]]

◆ Z

Z