Economy, asked by Krrish169, 1 year ago

Climate change impact on wheat production in india

Answers

Answered by Anonymous
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.

Answered by abhinav1234567
3
mate.. here's your answer. hope it helps
PLEASE MARK IT AS BRAINLIEST
Attachments:
Similar questions