Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netCDF long_name for loc, shp and scale variables #58

Open
wcarthur opened this issue Oct 16, 2018 · 0 comments
Open

netCDF long_name for loc, shp and scale variables #58

wcarthur opened this issue Oct 16, 2018 · 0 comments

Comments

@wcarthur
Copy link
Member

wcarthur commented Oct 16, 2018

The long_name attribute for the location, shape and scale variables (loc, shp and scale respectively) is hard coded to be "Location parameter for GEV distribution", irrespective of the actual distribution used for estimating ARI values.

This should be set to match the configuration setting in the Hazard -- ExtremeValueDistribution option.

See the HazardCalculator.saveHazard() method in hazard/__init__.py.
The EVD is already an attribute of HazardCalculator class, so should be simple as formatting self.evd in the string that defines the long_name attribute in the netcdf file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant