TreeMig Code
Loading...
Searching...
No Matches
filelistmodule Module Reference

Data Types

type  ncvar
 

Functions/Subroutines

subroutine readcontrolparsandinitfiles ()
 ReadControlParsAndInitFiles

 

Variables

character(len=:), allocatable resultpath
 
character(len=:), allocatable resultpath_h
 
character(len=:), allocatable statepath
 
type(filelog_file
 
type(filestatein_file
 
type(filestateout_file
 
type(filestatebackupout_file
 
type(filestatebackupout_file_0
 
type(filestatebackupout_file_1
 
type(filedispersalkernel_file
 
type(filedispersalkernelnew_file
 
type(filecontrolpars_file
 
type(filecontrolparsout_file
 
type(filespecies_file
 
type(fileimmigration_file
 
type(filebioclimate_file
 
type(filestockarea_file
 
type(filelandcoverfilter_file
 
type(fileimmigrationout_file
 
type(filespeciesout_file
 
type(filebiomassoutfile
 
type(filenumberoutfile
 
type(fileseedoutfile
 
type(fileantaoutfile
 
type(filelaioutfile
 
type(filepollenoutfile
 
type(filenppoutfile
 
type(filebasareaoutfile
 
type(fileingrowthoutfile
 
type(filebiodivoutfile
 
type(filelaipertreehcloutfile
 
type(filedbhpertreehcloutfile
 
type(filebiompertreehcloutfile
 
type(fileseedprodfractpertreehcloutfile
 
type(fileheightperhcloutfile
 
type(filelightdistrperhcloutfile
 
type(filelightandleafareaperlightclass
 
type(file), dimension(16) heightstructoutfiles
 
integer nc_file_id
 
character(len=:), allocatable nc_file_name
 
type(ncvarbiodiv_nc
 
type(ncvarbiomass_nc
 
type(ncvarnumber_nc
 
type(ncvarseed_nc
 
type(ncvaringrowth_nc
 
type(ncvarnpp_nc
 
type(ncvarbasalarea_nc
 
type(ncvarantagonist_nc
 
type(ncvarpollen_nc
 
type(ncvarlai_nc
 
type(ncvarlight_nc
 
type(ncvar), dimension(16) heightstruct_nc
 

Function/Subroutine Documentation

◆ readcontrolparsandinitfiles()

subroutine filelistmodule::readcontrolparsandinitfiles

ReadControlParsAndInitFiles


  1. reads from the console the controlfile name and working directory and sets them
  2. reads the control pars file (this is necessary here because information for the other files is in the control pars file)
  3. defines all the input and output files with concrete names and paths, for .txt and .netcdf files

LIST OF FILES AND UNITS

  • INPUT:
    • 10 List of control files
    • 11 Control Parameters
    • 12 Species parameters
    • 13 Immigration
    • 14 Bioclimate
    • 15 Constant Environment
    • 71 statefile
    • 73 2nd statefile
  • OUTPUT:
    • 70 : logfile
    • 71 : statefile
    • 72 : old statefile
    • 75 : resultsfile
    • 20 to 42 : simulation output data (see above)
    • 51: Constant Environment
    • 52: Species parameters
    • 53: Immigration
    • 54: Bioclimate
    • 55: Constant Environment
  • USE: All_par, LoggerModule, FileHandlingModule
  • OUT:
    • via All_par:
      • specfilename,immifilename, bioclimfilename, stockAreafilename,landCoverFilterFilename: character(len=:), allocatable: names of input files
      • experimentID : character(len=:), allocatable : identifier for output of experiment
    • via FileListModule (this module):
      • TYPE(File) : all kinds of input and output files (see above)
  • CALLS:
  • CALLS support routines:
  • CALLED from:

Definition at line 130 of file FileListModule.f90.

Variable Documentation

◆ antagonist_nc

type(ncvar) filelistmodule::antagonist_nc

Definition at line 74 of file FileListModule.f90.

◆ antaoutfile

type(file) filelistmodule::antaoutfile

Definition at line 40 of file FileListModule.f90.

◆ basalarea_nc

type(ncvar) filelistmodule::basalarea_nc

Definition at line 73 of file FileListModule.f90.

◆ basareaoutfile

type(file) filelistmodule::basareaoutfile

Definition at line 44 of file FileListModule.f90.

◆ bioclimate_file

type(file) filelistmodule::bioclimate_file

Definition at line 32 of file FileListModule.f90.

◆ biodiv_nc

type(ncvar) filelistmodule::biodiv_nc

Definition at line 67 of file FileListModule.f90.

◆ biodivoutfile

type(file) filelistmodule::biodivoutfile

Definition at line 46 of file FileListModule.f90.

◆ biomass_nc

type(ncvar) filelistmodule::biomass_nc

Definition at line 68 of file FileListModule.f90.

◆ biomassoutfile

type(file) filelistmodule::biomassoutfile

Definition at line 37 of file FileListModule.f90.

◆ biompertreehcloutfile

type(file) filelistmodule::biompertreehcloutfile

Definition at line 49 of file FileListModule.f90.

◆ controlpars_file

type(file) filelistmodule::controlpars_file

Definition at line 28 of file FileListModule.f90.

◆ controlparsout_file

type(file) filelistmodule::controlparsout_file

Definition at line 29 of file FileListModule.f90.

◆ dbhpertreehcloutfile

type(file) filelistmodule::dbhpertreehcloutfile

Definition at line 48 of file FileListModule.f90.

◆ dispersalkernel_file

type(file) filelistmodule::dispersalkernel_file

Definition at line 26 of file FileListModule.f90.

◆ dispersalkernelnew_file

type(file) filelistmodule::dispersalkernelnew_file

Definition at line 27 of file FileListModule.f90.

◆ heightperhcloutfile

type(file) filelistmodule::heightperhcloutfile

Definition at line 51 of file FileListModule.f90.

◆ heightstruct_nc

type(ncvar), dimension(16) filelistmodule::heightstruct_nc

Definition at line 78 of file FileListModule.f90.

◆ heightstructoutfiles

type(file), dimension(16) filelistmodule::heightstructoutfiles

Definition at line 55 of file FileListModule.f90.

◆ immigration_file

type(file) filelistmodule::immigration_file

Definition at line 31 of file FileListModule.f90.

◆ immigrationout_file

type(file) filelistmodule::immigrationout_file

Definition at line 35 of file FileListModule.f90.

◆ ingrowth_nc

type(ncvar) filelistmodule::ingrowth_nc

Definition at line 71 of file FileListModule.f90.

◆ ingrowthoutfile

type(file) filelistmodule::ingrowthoutfile

Definition at line 45 of file FileListModule.f90.

◆ lai_nc

type(ncvar) filelistmodule::lai_nc

Definition at line 76 of file FileListModule.f90.

◆ laioutfile

type(file) filelistmodule::laioutfile

Definition at line 41 of file FileListModule.f90.

◆ laipertreehcloutfile

type(file) filelistmodule::laipertreehcloutfile

Definition at line 47 of file FileListModule.f90.

◆ landcoverfilter_file

type(file) filelistmodule::landcoverfilter_file

Definition at line 34 of file FileListModule.f90.

◆ light_nc

type(ncvar) filelistmodule::light_nc

Definition at line 77 of file FileListModule.f90.

◆ lightandleafareaperlightclass

type(file) filelistmodule::lightandleafareaperlightclass

Definition at line 53 of file FileListModule.f90.

◆ lightdistrperhcloutfile

type(file) filelistmodule::lightdistrperhcloutfile

Definition at line 52 of file FileListModule.f90.

◆ log_file

type(file) filelistmodule::log_file

Definition at line 20 of file FileListModule.f90.

◆ nc_file_id

integer filelistmodule::nc_file_id

Definition at line 65 of file FileListModule.f90.

◆ nc_file_name

character(len=:), allocatable filelistmodule::nc_file_name

Definition at line 66 of file FileListModule.f90.

◆ npp_nc

type(ncvar) filelistmodule::npp_nc

Definition at line 72 of file FileListModule.f90.

◆ nppoutfile

type(file) filelistmodule::nppoutfile

Definition at line 43 of file FileListModule.f90.

◆ number_nc

type(ncvar) filelistmodule::number_nc

Definition at line 69 of file FileListModule.f90.

◆ numberoutfile

type(file) filelistmodule::numberoutfile

Definition at line 38 of file FileListModule.f90.

◆ pollen_nc

type(ncvar) filelistmodule::pollen_nc

Definition at line 75 of file FileListModule.f90.

◆ pollenoutfile

type(file) filelistmodule::pollenoutfile

Definition at line 42 of file FileListModule.f90.

◆ resultpath

character(len=:), allocatable filelistmodule::resultpath

Definition at line 19 of file FileListModule.f90.

◆ resultpath_h

character(len=:), allocatable filelistmodule::resultpath_h

Definition at line 19 of file FileListModule.f90.

◆ seed_nc

type(ncvar) filelistmodule::seed_nc

Definition at line 70 of file FileListModule.f90.

◆ seedoutfile

type(file) filelistmodule::seedoutfile

Definition at line 39 of file FileListModule.f90.

◆ seedprodfractpertreehcloutfile

type(file) filelistmodule::seedprodfractpertreehcloutfile

Definition at line 50 of file FileListModule.f90.

◆ species_file

type(file) filelistmodule::species_file

Definition at line 30 of file FileListModule.f90.

◆ speciesout_file

type(file) filelistmodule::speciesout_file

Definition at line 36 of file FileListModule.f90.

◆ statebackupout_file

type(file) filelistmodule::statebackupout_file

Definition at line 23 of file FileListModule.f90.

◆ statebackupout_file_0

type(file) filelistmodule::statebackupout_file_0

Definition at line 24 of file FileListModule.f90.

◆ statebackupout_file_1

type(file) filelistmodule::statebackupout_file_1

Definition at line 25 of file FileListModule.f90.

◆ statein_file

type(file) filelistmodule::statein_file

Definition at line 21 of file FileListModule.f90.

◆ stateout_file

type(file) filelistmodule::stateout_file

Definition at line 22 of file FileListModule.f90.

◆ statepath

character(len=:), allocatable filelistmodule::statepath

Definition at line 19 of file FileListModule.f90.

◆ stockarea_file

type(file) filelistmodule::stockarea_file

Definition at line 33 of file FileListModule.f90.