Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
#Run flexpart (asynchronous call!)

r = flexpart_run(
	output_path	:	"result_fwd_conc",
	input_path	:	"../data",
	starting_date	:	20120517,
	starting_time	:	12,
	ending_date	:	20120519,
	ending_time	:	12,
	output_field_type: "concentration",
    output_flux	:	"on",
	output_trajectory	:	"on",
	output_area	:	[40,-25,66,10],
	output_grid	:	[0.25,0.25],
	output_levels	:	[500,1000,2000,3000,4000,5000,7500,10000,15000],
	release_species	:	8,
	receptors	:	"on",
	receptor_names	:	["rec1","rec2"],
	receptor_latitudes	:	[60,56.9],
	receptor_longitudes	:	[6.43,-3.5],
	releases	:	rel_volcano
	)

print(r)

Here the actual release species is specified as an integer code we defined the simulation period and the output grid as well. We also told FLEXPART to generate gridded concentration fields on output. We also asked for plume trajectories and deposition data at the specified receptor locations.

Info

Please note that the actual species that will be released is defined as an integer number (for details about using the species

...

see here).

If we run this macro (or alternatively right-click execute the FLEXPART Run icon) the results (after a minute or so) will be available in folder 'result_fw_con' (as we specified it in the ouput_path parameter). The computations were actually taken place in a temporary folder the metview copied the results here. If we open the resulting folder we will see to files there:

  • cons_s001.grib is GRIB file containing the gridded concentration fields.
  • tr_r1.csv is CSV file containing the plume trajectories
Info

Please note that these are not the original outputs form FLEXTRA but were converted formats more suitable for use in Metview.  For details about FLEXPART outputs please click here.





Forward simultaions

Fields

...