Plotting 1D vector output

Status
Not open for further replies.

James King

James King
Member
Hi all,

I have some CLM5 fields which have been output per PFT. These are stored as 1d vectors (with a time dimension, so the shape is (time,pft)). To plot the results, I need to reshape the data into something like (lon, lat, pft, time). I can see that the variables pfts1d_ixy and pfts1d_jxy correspond to the lon and lat values, and that pfts_itype_veg contains pft info, but how do I get from there to something I can actually plot?

Cheers,

James
 
Status
Not open for further replies.
Back
Top