You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Royal would like time series .CSV data outputs. The data should show WPU change over time for all veg types. They showed an example with individual pixels flattened w/ index values for location, as well as a column of WPU membership for pixel.
We can start building a CSV output function, and then refine as they/we get a better sense of the specs.
This could use np.savetext (simplest) or possibly use the existing VegTransition._save_state_vars() to build up an xarray Dataset, which would have a .to_pandas() method that could be very handy for better formatting control. We also still need to output .tifs or .NetCDF for Cam, so this is probably the way to go.
The text was updated successfully, but these errors were encountered:
this code will be independent of VegTransition (i.e. a post-processing step, where reading the VegTransition files into a xr.Dataset is the first step.
Royal would like time series .CSV data outputs. The data should show WPU change over time for all veg types. They showed an example with individual pixels flattened w/ index values for location, as well as a column of WPU membership for pixel.
We can start building a CSV output function, and then refine as they/we get a better sense of the specs.
This could use
np.savetext
(simplest) or possibly use the existingVegTransition._save_state_vars()
to build up an xarray Dataset, which would have a.to_pandas()
method that could be very handy for better formatting control. We also still need to output.tifs
or.NetCDF
for Cam, so this is probably the way to go.The text was updated successfully, but these errors were encountered: