This should be a publicly exported function that returns a list of property names in a file.
property_names = xtgeo.list_properties("MYFILE.UNRST") # List all properties available in the file
my_names = property_names[...] # filter which property names are relevant
gps = xtgeo.gridproperties_from_file("MYFILE.UNRST", names=my_names)
This should be a publicly exported function that returns a list of property names in a file.