Fixed rules and test data

This commit is contained in:
Luca Frosini 2020-03-23 18:05:02 +01:00
parent 9505d86d81
commit 1b3008e654
5 changed files with 33 additions and 5 deletions

View File

@ -39502,3 +39502,17 @@ SDI,Thredds,/dodsC/public/netcdf/myCatalog/oscar_vel_1992-2017_180.nc.html
SDI,Thredds,/dodsC/public/netcdf/oscar_vel/oscar_vel1999_2015.nc.dds
SDI,Thredds,/dodsC/public/netcdf/oscar_vel/oscar_vel1999_2015.nc.dods
SDI,Thredds,/dodsC/public/netcdf/oscar_vel/oscar_vel1999_2015.nc.html
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/geoserver-GetCoverage.image.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/Second%20Run/oscar_vel_1992-1993_180.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc.html
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc.html
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/geoserver-GetCoverage.image.nc.html
SDI,Thredds,/dodsC/public/netcdf/Second%20Run/oscar_vel2011_180.nc.html
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/geoserver-GetCoverage.image.nc.html
Can't render this file because it is too large.

View File

@ -2,7 +2,7 @@
"match": {
"serviceClassRegex": "SDI",
"serviceNameRegex": "Thredds",
"calledMethodRegex": "^(\/){1}(?<Protocol>[a-zA-Z0-9]*){1}(\/public\/netcdf\/){1}(?<Collection>[a-zA-Z0-9_-]*(?<!(..\\.nc)))(\/){1}.*(?<!(..\\.nc|.\\.asc|\\.tiff))$"
"calledMethodRegex": "^(\/){1}(?<Protocol>[a-zA-Z0-9]*){1}(\/public\/netcdf\/){1}(?<Collection>[a-zA-Z0-9_\\-%]*(?<!(..\\.nc)))(\/){1}.*(?<!(..\\.nc|.\\.asc|\\.tiff))$"
},
"replace": {
"serviceClass": "SDI",

View File

@ -804,3 +804,17 @@ SDI,Thredds,/wms/public/netcdf/TUNA_ATLAS/west_pacific_ocean_catch_5deg_1m_1950_
SDI,Thredds,/wms/public/netcdf/myCatalog/oscar_vel2011_180.nc
SDI,Thredds,/wms/public/netcdf/myCatalog/oscar_vel_1992-2017_180.nc
SDI,Thredds,/wms/public/netcdf/oscar_vel/oscar_vel1999_2015.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/geoserver-GetCoverage.image.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/geoserver-GetCoverage.image.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20Francesco/geoserver-GetCoverage.image.nc
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/test%20by%20francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
SDI,Thredds,/dodsC/public/netcdf/Test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
SDI,Thredds,/dodsC/public/netcdf/Second%20Run/oscar_vel2011_180.nc
SDI,Thredds,/dodsC/public/netcdf/Second%20Run/oscar_vel_1992-1993_180.nc
1 SDI Thredds /dodsC/public/netcdf/AquamapsNative/aquamaps_native_myrophis_platyrhynchus.nc
804 SDI Thredds /wms/public/netcdf/myCatalog/oscar_vel2011_180.nc
805 SDI Thredds /wms/public/netcdf/myCatalog/oscar_vel_1992-2017_180.nc
806 SDI Thredds /wms/public/netcdf/oscar_vel/oscar_vel1999_2015.nc
807 SDI Thredds /dodsC/public/netcdf/test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
808 SDI Thredds /dodsC/public/netcdf/test%20by%20francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
809 SDI Thredds /dodsC/public/netcdf/test%20by%20francesco/geoserver-GetCoverage.image.nc
810 SDI Thredds /dodsC/public/netcdf/test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
811 SDI Thredds /dodsC/public/netcdf/Test%20by%20Francesco/geoserver-GetCoverage.image.nc
812 SDI Thredds /dodsC/public/netcdf/test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
813 SDI Thredds /dodsC/public/netcdf/test%20by%20Francesco/geoserver-GetCoverage.image.nc
814 SDI Thredds /dodsC/public/netcdf/Test%20by%20Francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
815 SDI Thredds /dodsC/public/netcdf/test%20by%20francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
816 SDI Thredds /dodsC/public/netcdf/Test%20by%20Francesco/apparent_oxygen_utilization_monthly_5deg_ENVIRONMENT_BIOTA_.nc
817 SDI Thredds /dodsC/public/netcdf/test%20by%20francesco/HadCRUT.4.2.0.0.median_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc
818 SDI Thredds /dodsC/public/netcdf/Test%20by%20Francesco/dissolved_oxygen_annual_5deg_ENVIRONMENT_BIOTA_.nc
819 SDI Thredds /dodsC/public/netcdf/Second%20Run/oscar_vel2011_180.nc
820 SDI Thredds /dodsC/public/netcdf/Second%20Run/oscar_vel_1992-1993_180.nc

View File

@ -2,7 +2,7 @@
"match": {
"serviceClassRegex": "SDI",
"serviceNameRegex": "Thredds",
"calledMethodRegex": "^(\/){1}(?<Protocol>[a-zA-Z0-9]*){1}(\/public\/netcdf\/){1}(?<Collection>[a-zA-Z0-9_-]*)(\/){1}(.*\\.(nc|asc|tiff))$"
"calledMethodRegex": "^(\/){1}(?<Protocol>[a-zA-Z0-9]*){1}(\/public\/netcdf\/){1}(?<Collection>[a-zA-Z0-9_\\-%]*)(\/){1}(.*\\.(nc|asc|tiff))$"
},
"replace": {
"serviceClass": "SDI",