ecmwf-ifs / field_api

Apache License 2.0
3 stars 8 forks source link

Small field_delete improvement #63

Closed dareg closed 12 hours ago

dareg commented 1 day ago

When using field_api inside IAL, we write hundreds of lines similar to this one:

IF(ASSOCIATED(F_FOO))CALL FIELD_DELETE(F_FOO)

It would make the code simpler if the check was done inside field_delete.

awnawab commented 14 hours ago

I would like to release a new tag today and it would be nice to include this PR in that tag. I'll merge this at 11:30 AM CET, please shout before then if there are any objections.