Generating GeoValS using the GOMsaver


I would like to save the GeoVals values in a file needed for a UFO test including the model variables at observation locations and the main metadata such as latitude, longitude and datetime.

I have successfully run the obs filter GOMsaver, however, it only saves the requested model variables at observation locations under variables group. I have yet not found a way to save the necessary metadata. If this is possible could you please advise, which routine I need to call to request MetaData to also be saved in these files. I feel like I have overlooked something very simple.

Many thanks,

The MetaData is stored in either of the ‘obs space’ input or output files. It is stored in the same order of locations as the GeoVaLs feedback files, as long as the per-processor files are read in order. Currently there is not a facility to write the MetaData to the GeoVaLs feedback files.

1 Like

Thank you for the quick answer!

Yes I can see the MetaData from the obs space but I was hoping to produce the geovals.nc4 files from the code not manually (which I understand from what you are saying is the case for all of the geovals files in the UFO testdata folder).

Thank you, it is useful to know that the observations are kept in the same order in hofx and geoval outputfiles for each file per processor. I could thus modify e.g. file in the ‘gsi_ncdiag’ folder to process hofx and geoval files in order as a pair per processor to read in geovals to produce a single geovals file with metadata. I think that should work, but it would be great if MetaData was automatically added within the geovals output files when running GOMsaver filter :slight_smile:

On a similar note, is there a way to include geovals within the hofx output files?


Look in the fv3-jedi/test/testinput files for “GOMsaver” under ObsFilters I believe. That is the mechanism used to save geoval files.