Closed fbenke-pik closed 8 months ago
do the new arguments work in combination with any other argument? In particular, does it work for restore_zeros = TRUE and FALSE?
do the new arguments work in combination with any other argument? In particular, does it work for restore_zeros = TRUE and FALSE?
Yes, to the best of my knowledge, should work with both restore_zeros TRUE and FALSE (restore_zeros only affects the length of the data table that is created before applying as.magpie). Also, not setting them would pass NULL to as.magpie for spatial and temporal, which is default behavior.
This PR gives you more control over conversion to a magclass object when reading in gdx data. Right now, matching of spatial and temporal columns happens automatically.