8#include "AtmosModelFactory.h"
11#include "IException.h"
47 PvlGroup &algo = pvl.findObject(
"AtmosphericModel")
50 QString algorithm =
"";
51 if(algo.hasKeyword(
"AtmName")) {
52 algorithm = QString(algo[
"AtmName"]);
54 else if(algo.hasKeyword(
"Name")) {
55 algorithm = QString(algo[
"Name"]);
58 QString msg =
"Keyword [Name] or keyword [AtmName] must ";
59 msg +=
"exist in [Group = Algorithm]";
67 p->read(
"AtmosModel.plugin");
70 p->read(
"$ISISROOT/lib/AtmosModel.plugin");
76 p->GetPlugin(algorithm);
77 return (*plugin)(pvl, pmodel);
static AtmosModel * Create(Pvl &pvl, PhotoModel &pmodel)
Create an AtmosModel object using a PVL specification.
Isotropic atmos scattering model.
File name manipulation and expansion.
bool fileExists() const
Returns true if the file exists; false otherwise.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Loads plugins from a shared library.
Contains multiple PvlContainers.
Container for cube-like labels.
@ Traverse
Search child objects.
This is free and unencumbered software released into the public domain.