CABLE-LSM / CABLE-Trac-archive

Archive CABLE Trac contents as issues
Other
0 stars 0 forks source link

Adding changes to ALMA convention into CABLE #212

Closed penguian closed 5 years ago

penguian commented 5 years ago

keyword_nogit owner:bep599@nci.org.au resolution_fixed type_code improvement | by amu561


The ALMA convention has changed for two met variables (as used in GSWP3 etc.). It would be good to add these to CABLE trunk as an option.

The new variables are Precip (previously Rainf) and Psurf (previously PSurf). I have resolved this in cable_input.F90 by looking for the new variable if old variable is not found:

ok = NF90_INQ_VARID(ncid_met,'PSurf',id%PSurf)
IF(ok .ne. NF90_NOERR) ok = NF90_INQ_VARID(ncid_met, "Psurf", id%PSurf)
ok = NF90_INQ_VARID(ncid_met,'Rainf',id%Rainf)
IF(ok .ne. NF90_NOERR) ok = NF90_INQ_VARID(ncid_met,'Precip',id%Rainf)

Issue migrated from trac:212 at 2023-11-27 11:28:01 +1100

penguian commented 5 years ago

@jxs599@nci.org.au changed status from new to closed

penguian commented 5 years ago

@jxs599@nci.org.au changed resolution from ` tofixed`

penguian commented 5 years ago

@jxs599@nci.org.au changed milestone from ` to1. Closed`

penguian commented 5 years ago

@jxs599@nci.org.au commented


Pushed to trunk@5929

penguian commented 1 year ago

@ccc561@nci.org.au set keywords to nogit