Climate change impact on wheat production in india
Answers
Answered by
0
This is fine for creating a DataArray -- but when I try to convert to a dataset (so I can write to netCDF), I get an error about 'ValueError: Coordinate objects must be 1-dimensional'
2) The second approach I've tried is taking my dataarray, casting it to a dataframe, setting the index to ['lat','lng', 'time'] and then going back to a dataset with xr.Dataset.from_dataframe(). I've tried this -- but it takes 20+ min before I kill the process.
2) The second approach I've tried is taking my dataarray, casting it to a dataframe, setting the index to ['lat','lng', 'time'] and then going back to a dataset with xr.Dataset.from_dataframe(). I've tried this -- but it takes 20+ min before I kill the process.
Answered by
3
mate.. here's your answer. hope it helps
PLEASE MARK IT AS BRAINLIEST
PLEASE MARK IT AS BRAINLIEST
Attachments:
Similar questions
English,
6 months ago
History,
6 months ago
Science,
6 months ago
Science,
1 year ago
Political Science,
1 year ago