TreeMig Code
Loading...
Searching...
No Matches
ReadImmigrationData.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine readimmigrationdata (nspc)
 ReadImmigrationData

 

Function/Subroutine Documentation

◆ readimmigrationdata()

subroutine readimmigrationdata ( integer, intent(in) nspc)

ReadImmigrationData


Reads in the number, and dates and locations of immigration events for each species

  1. the immigration coordinates are given in relative values (0. to 1.)
  2. the immigration years are first read in as real years and then transformed to relative years
  • USE: FileListModule, LoggerModule, All_par
  • IN:
    • Parameters
      nspc: number of species
    • from ALL_par:
      • simustartyear: INTEGER: start year of simulation in real years
      • maxImmigrationsPerSpec: INTEGER: maximum number of immigration events per species. Parameter (1) in All_par
      • immigration: LOGICAL: immigration included? Read in in ReadControlPars
  • OUT:
    • via All_par:
      • immiPeriod: INTEGER : period around immigration times, when species immigrate
      • spec(maxspc)immi: TYPE(SpecProperties) : species immigration properties; here the immigration species parameters (n, dat()year, dat()lon, dat()lat are put to specimmi)
  • CALLS support routines:
  • CALLED FROM

Definition at line 26 of file ReadImmigrationData.f90.